Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8619/0.8619, allocations: 173.4 MB / 200.4 MB, free: 9.406 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.135e-05, allocations: 6.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002577/0.002588, allocations: 2.589 MB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003621, allocations: 0.8139 MB / 321.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.003748, allocations: 7.938 kB / 321.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.003952, allocations: 55.5 kB / 321.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.00418, allocations: 115 kB / 322 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.00438, allocations: 111.7 kB / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.004656, allocations: 362.5 kB / 322.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004799, allocations: 70.94 kB / 322.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.004988, allocations: 211.5 kB / 322.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.005122, allocations: 111.7 kB / 322.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.005161, allocations: 31.94 kB / 322.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.005187, allocations: 28 kB / 322.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.005227, allocations: 63.75 kB / 323 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.005295, allocations: 107.7 kB / 323.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.005832, allocations: 374.8 kB / 323.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005834, allocations: 0 / 323.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005834, allocations: 0 / 323.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.00584, allocations: 0 / 323.4 MB, free: 1.305 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006437/0.006483, allocations: 0.5287 MB / 324 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.00652, allocations: 11.97 kB / 324 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.006566, allocations: 62.73 kB / 324 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.00661, allocations: 32.75 kB / 324.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.006845, allocations: 213.8 kB / 324.3 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.006865, allocations: 25.02 kB / 324.3 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.0069, allocations: 24.38 kB / 324.3 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.007231, allocations: 272.3 kB / 324.6 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.00724, allocations: 192 / 324.6 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.007261, allocations: 16.12 kB / 324.6 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.007268, allocations: 8 kB / 324.6 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.007548, allocations: 206.6 kB / 324.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.008512, allocations: 0.8439 MB / 325.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.008784, allocations: 198.3 kB / 325.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.008939, allocations: 104.8 kB / 326 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.008962, allocations: 4 kB / 326 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.008986, allocations: 39 kB / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.008988, allocations: 0 / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002677/0.01166, allocations: 1.39 MB / 327.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.0117, allocations: 59.34 kB / 327.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01187, allocations: 237.6 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.01189, allocations: 33.7 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.01198, allocations: 184.4 kB / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.01205, allocations: 126.9 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.01212, allocations: 62.06 kB / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.01221, allocations: 342.8 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.01236, allocations: 108.7 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.01253, allocations: 157.5 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.01285, allocations: 283.8 kB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01285, allocations: 4 kB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000809/0.01366, allocations: 0.5296 MB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01368, allocations: 4 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01368, allocations: 0 / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.01428, allocations: 241.5 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01443, allocations: 59.91 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.01764, allocations: 3.895 MB / 333.7 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01775, allocations: 12.03 kB / 333.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.01776, allocations: 12 kB / 333.7 MB, free: 6.516 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.0179, allocations: 149.8 kB / 333.9 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.01794, allocations: 31.75 kB / 333.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.01799, allocations: 38.97 kB / 333.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01799, allocations: 8.062 kB / 333.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.018, allocations: 0 / 333.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.01801, allocations: 3.984 kB / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.01924, allocations: 0.9031 MB / 334.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01924, allocations: 3.938 kB / 334.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.01936, allocations: 43.97 kB / 334.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/0.01993, allocations: 241.5 kB / 335.1 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.01995, allocations: 15.98 kB / 335.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.02309, allocations: 3.884 MB / 339 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02309, allocations: 0 / 339 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.02411, allocations: 0.7094 MB / 339.7 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.02414, allocations: 31.83 kB / 339.8 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.02416, allocations: 12 kB / 339.8 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02426, allocations: 15.98 kB / 339.8 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.02435, allocations: 35.81 kB / 339.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.02436, allocations: 12.06 kB / 339.8 MB, free: 48 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.02449, allocations: 165.3 kB / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02449, allocations: 0 / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000425/0.02491, allocations: 100 kB / 340.1 MB, free: 15.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.02609, allocations: 1.269 MB / 341.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.02673, allocations: 0.5445 MB / 341.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02674, allocations: 0 / 341.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.02706, allocations: 417.5 kB / 342.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.0273, allocations: 24.75 kB / 342.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.03114, allocations: 3.314 MB / 345.7 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.03126, allocations: 172.3 kB / 345.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.109e-05/0.03132, allocations: 22.3 kB / 345.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.03142, allocations: 92.47 kB / 345.9 MB, free: 9.703 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03142, allocations: 0 / 345.9 MB, free: 9.703 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.06254, allocations: 9.385 MB / 355.3 MB, free: 492 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.362, allocations: 3.859 kB / 355.3 MB, free: 488 kB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.044417495839298]