Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.00128/0.00128, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001419/0.001419, allocations: 212.2 kB / 23.72 MB, free: 4.531 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.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 47.94 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2428, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004116/0.2469, allocations: 2.584 MB / 433.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.2485, allocations: 0.7361 MB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.2487, allocations: 4 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.2489, allocations: 63.42 kB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.2492, allocations: 95.05 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.2496, allocations: 119.8 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.2501, allocations: 458.9 kB / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.2504, allocations: 165.2 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.2507, allocations: 191.4 kB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.251, allocations: 207.1 kB / 435.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.2511, allocations: 44 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2512, allocations: 56 kB / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.2513, allocations: 99.67 kB / 435.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2515, allocations: 187.2 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.252, allocations: 0.5154 MB / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.252, allocations: 0 / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.252, allocations: 0 / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.252, allocations: 4 kB / 436.6 MB, free: 1.137 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001073/0.2531, allocations: 0.6146 MB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2531, allocations: 8.031 kB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.735e-05/0.2532, allocations: 78.72 kB / 437.3 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.2535, allocations: 64.64 kB / 437.3 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2538, allocations: 218.7 kB / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.2538, allocations: 37.31 kB / 437.6 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.2539, allocations: 48.33 kB / 437.6 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.2547, allocations: 0.6127 MB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2547, allocations: 7.938 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.2548, allocations: 16 kB / 438.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2548, allocations: 8 kB / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.2553, allocations: 279.9 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.2572, allocations: 1.17 MB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.2576, allocations: 230.4 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.258, allocations: 168.8 kB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.258, allocations: 0 / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.2581, allocations: 38.56 kB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.2581, allocations: 0 / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001364/0.2594, allocations: 490.3 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.2596, allocations: 239.3 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.2598, allocations: 214.7 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.2598, allocations: 33.7 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.2599, allocations: 196.7 kB / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.26, allocations: 111.1 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.2601, allocations: 57.7 kB / 441.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2603, allocations: 342.8 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.2604, allocations: 71.97 kB / 441.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.2608, allocations: 337.5 kB / 442.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.2611, allocations: 208.2 kB / 442.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2611, allocations: 0 / 442.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004744/0.2616, allocations: 285 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2616, allocations: 4 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2616, allocations: 0 / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2616, allocations: 4 kB / 442.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.262, allocations: 83.83 kB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.262, allocations: 4.062 kB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.2621, allocations: 27.78 kB / 442.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2622, allocations: 12 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.2623, allocations: 157.8 kB / 443 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.2624, allocations: 31.78 kB / 443 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.2625, allocations: 30.59 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2625, allocations: 4 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2625, allocations: 0 / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2625, allocations: 3.984 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.2635, allocations: 0.7001 MB / 443.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2635, allocations: 0 / 443.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.2638, allocations: 55.91 kB / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.2641, allocations: 88.73 kB / 443.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.2642, allocations: 8 kB / 443.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.2662, allocations: 1.854 MB / 445.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2662, allocations: 80 / 445.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.267, allocations: 0.4896 MB / 446.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.267, allocations: 31.84 kB / 446.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.2671, allocations: 8 kB / 446.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2672, allocations: 12.06 kB / 446.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.2673, allocations: 32.05 kB / 446.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2673, allocations: 11.88 kB / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.2674, allocations: 144.6 kB / 446.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2674, allocations: 4 kB / 446.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000379/0.2678, allocations: 111.7 kB / 446.6 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.2689, allocations: 1.037 MB / 447.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.2694, allocations: 204.1 kB / 447.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2694, allocations: 4 kB / 447.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.2698, allocations: 254.5 kB / 448.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2702, allocations: 35.97 kB / 448.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.2738, allocations: 2.916 MB / 451 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2739, allocations: 176.8 kB / 451.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.464e-05/0.274, allocations: 29.94 kB / 451.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2742, allocations: 99.41 kB / 451.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2742, allocations: 0 / 451.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.311, allocations: 6.845 MB / 458.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.29, allocations: 10.42 kB / 458.2 MB, free: 10.91 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 13.715287013998022]