Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005415/0.005415, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2864/0.2864, allocations: 43.5 MB / 313.5 MB, free: 8.266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 63.91 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1003, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006393/0.1067, allocations: 5.26 MB / 445.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1093, allocations: 1.609 MB / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.1096, allocations: 20 kB / 446.8 MB, free: 7.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002731/0.1123, allocations: 1.498 MB / 448.3 MB, free: 6.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.1129, allocations: 254.3 kB / 448.6 MB, free: 5.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1141, allocations: 0.6504 MB / 449.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.1147, allocations: 0.7658 MB / 450 MB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.1156, allocations: 0.6727 MB / 450.7 MB, free: 3.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.1159, allocations: 326.7 kB / 451 MB, free: 3.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/0.1164, allocations: 442.2 kB / 451.4 MB, free: 2.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.1164, allocations: 63.94 kB / 451.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.1168, allocations: 167.9 kB / 451.6 MB, free: 2.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1169, allocations: 159.4 kB / 451.8 MB, free: 2.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.1172, allocations: 409.9 kB / 452.2 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.1181, allocations: 1.125 MB / 453.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1181, allocations: 4 kB / 453.3 MB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1181, allocations: 0 / 453.3 MB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1181, allocations: 0 / 453.3 MB, free: 1.055 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.1505/0.2687, allocations: 1.342 MB / 454.7 MB, free: 48.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2687, allocations: 14.25 kB / 454.7 MB, free: 48.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.2689, allocations: 153 kB / 454.8 MB, free: 48.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.2703, allocations: 225.5 kB / 455 MB, free: 48.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.2705, allocations: 261.3 kB / 455.3 MB, free: 48.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2707, allocations: 73.98 kB / 455.4 MB, free: 48.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2708, allocations: 102.5 kB / 455.5 MB, free: 48.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.272, allocations: 0.9317 MB / 456.4 MB, free: 48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.2721, allocations: 8.297 kB / 456.4 MB, free: 47.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.2721, allocations: 40.98 kB / 456.4 MB, free: 47.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.2722, allocations: 25.44 kB / 456.5 MB, free: 47.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2732, allocations: 0.723 MB / 457.2 MB, free: 47.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.2768, allocations: 3.938 MB / 461.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.2784, allocations: 3.385 MB / 464.5 MB, free: 41.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.2788, allocations: 292.5 kB / 464.8 MB, free: 41.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.256e-05/0.2789, allocations: 94.09 kB / 464.9 MB, free: 41.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2789, allocations: 46.81 kB / 464.9 MB, free: 41.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.2789, allocations: 0 / 464.9 MB, free: 41.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002161/0.2811, allocations: 1.331 MB / 466.3 MB, free: 40.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2811, allocations: 137.4 kB / 466.4 MB, free: 40.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.2814, allocations: 311.6 kB / 466.7 MB, free: 40.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2814, allocations: 37.92 kB / 466.7 MB, free: 40.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.2815, allocations: 403.2 kB / 467.1 MB, free: 40.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.2816, allocations: 232.3 kB / 467.4 MB, free: 39.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.2818, allocations: 140 kB / 467.5 MB, free: 39.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.2819, allocations: 355.2 kB / 467.9 MB, free: 39.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2822, allocations: 203.6 kB / 468 MB, free: 39.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.2825, allocations: 399.1 kB / 468.4 MB, free: 39.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.2831, allocations: 0.6285 MB / 469.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2831, allocations: 3.125 kB / 469.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001239/0.2844, allocations: 0.8784 MB / 469.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2844, allocations: 9.531 kB / 470 MB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2844, allocations: 6.531 kB / 470 MB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.285, allocations: 231.7 kB / 470.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.2854, allocations: 137.6 kB / 470.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.2891, allocations: 6.227 MB / 476.6 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.2896, allocations: 95.91 kB / 476.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.2896, allocations: 31.59 kB / 476.7 MB, free: 32.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.2899, allocations: 221.4 kB / 476.9 MB, free: 32.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.29, allocations: 40.34 kB / 476.9 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009912/0.291, allocations: 0.6994 MB / 477.6 MB, free: 31.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.291, allocations: 6.062 kB / 477.6 MB, free: 31.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.291, allocations: 6.625 kB / 477.6 MB, free: 31.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2911, allocations: 3.328 kB / 477.6 MB, free: 31.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.2929, allocations: 1.578 MB / 479.2 MB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2929, allocations: 3.188 kB / 479.2 MB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.2931, allocations: 75.14 kB / 479.3 MB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.2935, allocations: 211.6 kB / 479.5 MB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.2936, allocations: 11.28 kB / 479.5 MB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.2969, allocations: 6.22 MB / 485.7 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2969, allocations: 7.031 kB / 485.7 MB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.2981, allocations: 1.184 MB / 486.9 MB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.2982, allocations: 128.5 kB / 487.1 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.2982, allocations: 11.59 kB / 487.1 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.2985, allocations: 26.06 kB / 487.1 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.2986, allocations: 49.16 kB / 487.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2987, allocations: 16.84 kB / 487.2 MB, free: 24.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.2988, allocations: 218.5 kB / 487.4 MB, free: 24.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2989, allocations: 3.938 kB / 487.4 MB, free: 24.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008383/0.2997, allocations: 272.4 kB / 487.6 MB, free: 23.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.3011, allocations: 1.769 MB / 489.4 MB, free: 22.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3023, allocations: 1.075 MB / 490.5 MB, free: 21.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3023, allocations: 2.75 kB / 490.5 MB, free: 21.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.3029, allocations: 0.7795 MB / 491.3 MB, free: 21.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.3035, allocations: 42.11 kB / 491.3 MB, free: 21.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.3088, allocations: 5.546 MB / 496.9 MB, free: 17.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3091, allocations: 0.9109 MB / 497.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.3094, allocations: 63.86 kB / 497.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3096, allocations: 229.9 kB / 498.1 MB, free: 16.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3096, allocations: 4 kB / 498.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.335, allocations: 11.04 MB / 0.4972 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.3352, allocations: 241.8 kB / 0.4974 GB, free: 15.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.289, allocations: 0 / 0.4974 GB, free: 15.25 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches