Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 39.94 kB / 378.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 53.36 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00394/0.2492, allocations: 2.626 MB / 434.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2507, allocations: 0.8878 MB / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2509, allocations: 7.938 kB / 435.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.2511, allocations: 59.45 kB / 435.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.2514, allocations: 107.2 kB / 435.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.2517, allocations: 111.8 kB / 435.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.2521, allocations: 358.6 kB / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2523, allocations: 77.98 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.2525, allocations: 151.4 kB / 436.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2527, allocations: 143.4 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.2528, allocations: 28 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.2528, allocations: 39.92 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.2529, allocations: 67.75 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.253, allocations: 131.4 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.2535, allocations: 370.5 kB / 437 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2535, allocations: 7.938 kB / 437 MB, free: 1.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2535, allocations: 0 / 437 MB, free: 1.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2535, allocations: 0 / 437 MB, free: 1.488 MB / 334.1 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.0009594/0.2544, allocations: 0.5364 MB / 437.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2545, allocations: 12.03 kB / 437.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.13e-05/0.2545, allocations: 12.84 kB / 437.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.2546, allocations: 62.72 kB / 437.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2547, allocations: 44.73 kB / 437.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.2551, allocations: 214.8 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.2551, allocations: 21.03 kB / 437.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.2551, allocations: 24.38 kB / 437.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.2556, allocations: 279.7 kB / 438.2 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2557, allocations: 4 kB / 438.2 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.2557, allocations: 12 kB / 438.2 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2557, allocations: 7.984 kB / 438.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.2561, allocations: 206.6 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.2577, allocations: 0.8703 MB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.2581, allocations: 185.9 kB / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.2583, allocations: 104.8 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.2583, allocations: 8.016 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2584, allocations: 34.56 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.2584, allocations: 0 / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005107/0.2635, allocations: 1.394 MB / 441 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2635, allocations: 55.41 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.2638, allocations: 244.8 kB / 441.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2638, allocations: 29.7 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2639, allocations: 184.5 kB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.264, allocations: 126.9 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2642, allocations: 66.06 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2643, allocations: 334.8 kB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.2645, allocations: 108.7 kB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.2648, allocations: 157.5 kB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.2653, allocations: 291.6 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2653, allocations: 0 / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001565/0.2669, allocations: 0.5257 MB / 443.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2669, allocations: 8 kB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2669, allocations: 0 / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.2681, allocations: 249.5 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.2684, allocations: 63.91 kB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004893/0.2733, allocations: 3.902 MB / 447.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2735, allocations: 8 kB / 447.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.2736, allocations: 15.94 kB / 447.3 MB, free: 6.629 MB / 350.1 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.0001869/0.2738, allocations: 157.8 kB / 447.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.2738, allocations: 23.86 kB / 447.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.2739, allocations: 38.97 kB / 447.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2739, allocations: 0 / 447.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2739, allocations: 7.984 kB / 447.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2739, allocations: 0 / 447.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.276, allocations: 0.914 MB / 448.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.276, allocations: 4.062 kB / 448.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.2762, allocations: 43.97 kB / 448.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.2774, allocations: 241.6 kB / 448.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2775, allocations: 12 kB / 448.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/0.2821, allocations: 3.872 MB / 452.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2821, allocations: 4.375 kB / 452.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.284, allocations: 0.7208 MB / 453.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.284, allocations: 35.84 kB / 453.4 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.284, allocations: 4 kB / 453.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2843, allocations: 15.98 kB / 453.4 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.2844, allocations: 31.94 kB / 453.4 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2844, allocations: 8 kB / 453.5 MB, free: 180 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.2845, allocations: 168.5 kB / 453.6 MB, free: 12 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2845, allocations: 0 / 453.6 MB, free: 12 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006093/0.2852, allocations: 104 kB / 453.7 MB, free: 15.91 MB / 366.1 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.002141/0.2873, allocations: 1.278 MB / 455 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.2883, allocations: 0.548 MB / 455.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2883, allocations: 4.125 kB / 455.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.2889, allocations: 417 kB / 456 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.2893, allocations: 28.38 kB / 456 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.2952, allocations: 3.377 MB / 459.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.2954, allocations: 177.6 kB / 459.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.284e-05/0.2955, allocations: 18.3 kB / 459.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2957, allocations: 99.39 kB / 459.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2957, allocations: 0 / 459.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.3324, allocations: 9.058 MB / 468.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.49, allocations: 17.52 kB / 468.7 MB, free: 0.832 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.05614207102917]