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.001518/0.001518, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001826/0.001826, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 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 1.348/1.348, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 47.92 kB / 371.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2469, allocations: 52.18 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004354/0.2513, allocations: 2.794 MB / 426.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2528, allocations: 0.8684 MB / 427.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.253, allocations: 7.938 kB / 427.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.2532, allocations: 55.52 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.2535, allocations: 111.2 kB / 427.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2538, allocations: 95.83 kB / 427.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.2542, allocations: 354.6 kB / 427.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2544, allocations: 77.98 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.2546, allocations: 143.5 kB / 427.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.2548, allocations: 151.3 kB / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.2548, allocations: 28 kB / 428.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.2549, allocations: 32 kB / 428.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.255, allocations: 67.75 kB / 428.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.2551, allocations: 151.3 kB / 428.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.2555, allocations: 359.3 kB / 428.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2555, allocations: 4 kB / 428.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2555, allocations: 0 / 428.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2555, allocations: 0 / 428.7 MB, free: 9.27 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.0009652/0.2565, allocations: 0.5365 MB / 429.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2565, allocations: 8.031 kB / 429.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.064e-05/0.2566, allocations: 16.78 kB / 429.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.2566, allocations: 58.73 kB / 429.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.2567, allocations: 32.75 kB / 429.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.2571, allocations: 206 kB / 429.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2571, allocations: 17.03 kB / 429.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.2571, allocations: 28.38 kB / 429.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.2576, allocations: 261.9 kB / 429.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2576, allocations: 0 / 429.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2577, allocations: 16 kB / 429.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2577, allocations: 4 kB / 429.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.2581, allocations: 206.5 kB / 430 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2597, allocations: 0.9674 MB / 431 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.2602, allocations: 189.8 kB / 431.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.2604, allocations: 104.8 kB / 431.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.2605, allocations: 8 kB / 431.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2605, allocations: 30.56 kB / 431.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.163e-06/0.2605, allocations: 0 / 431.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005073/0.2656, allocations: 1.392 MB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.2656, allocations: 63.25 kB / 432.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.2659, allocations: 224.9 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2659, allocations: 29.7 kB / 433 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.2661, allocations: 184.5 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2662, allocations: 134.9 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2663, allocations: 66.03 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2665, allocations: 346.7 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.2667, allocations: 108.7 kB / 433.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.267, allocations: 157.5 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.2675, allocations: 288 kB / 434.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2675, allocations: 0 / 434.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001561/0.2691, allocations: 0.5218 MB / 434.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2691, allocations: 8 kB / 434.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2691, allocations: 0 / 434.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.2704, allocations: 249.5 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.2707, allocations: 59.91 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007069/0.2777, allocations: 3.927 MB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.2781, allocations: 12.03 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.2782, allocations: 12 kB / 439.1 MB, free: 14.33 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.0003343/0.2785, allocations: 157.8 kB / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2786, allocations: 23.86 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2788, allocations: 42.97 kB / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.2788, allocations: 4 kB / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2788, allocations: 0 / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.2788, allocations: 3.984 kB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.2822, allocations: 0.9578 MB / 440.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2822, allocations: 0 / 440.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.2824, allocations: 43.91 kB / 440.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.284, allocations: 237.6 kB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.2841, allocations: 11.98 kB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00701/0.2911, allocations: 3.919 MB / 444.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.2911, allocations: 4.031 kB / 444.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.2936, allocations: 0.7247 MB / 445.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.2937, allocations: 27.83 kB / 445.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.2938, allocations: 8 kB / 445.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.2941, allocations: 19.92 kB / 445.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2942, allocations: 31.88 kB / 445.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.2942, allocations: 12 kB / 445.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.2945, allocations: 168.5 kB / 445.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2945, allocations: 0 / 445.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009559/0.2954, allocations: 100 kB / 445.6 MB, free: 7.516 MB / 350.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.002987/0.2984, allocations: 1.266 MB / 446.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.2999, allocations: 0.5479 MB / 447.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.2999, allocations: 7.938 kB / 447.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008957/0.3008, allocations: 421.1 kB / 447.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.3013, allocations: 26.5 kB / 447.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/0.3101, allocations: 3.34 MB / 451.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.3108, allocations: 0.7799 MB / 451.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.3109, allocations: 26.28 kB / 452 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.3111, allocations: 91.52 kB / 452.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3111, allocations: 3.938 kB / 452.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/0.357, allocations: 8.779 MB / 460.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.62, allocations: 17.94 kB / 460.9 MB, free: 8.133 MB / 366.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/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: 16.181430172000546]