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.001212/0.001212, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001344/0.001344, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 8.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 39.94 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2443, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003998/0.2483, allocations: 2.864 MB / 434.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2496, allocations: 0.7828 MB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2497, allocations: 8 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2498, allocations: 55.42 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.25, allocations: 95.06 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.2504, allocations: 127.8 kB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.2508, allocations: 450.9 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.2511, allocations: 169.4 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.2514, allocations: 191.4 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2516, allocations: 199.2 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.2517, allocations: 44 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2518, allocations: 59.98 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.2519, allocations: 95.69 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.252, allocations: 219 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.2526, allocations: 0.51 MB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2526, allocations: 0 / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2526, allocations: 0 / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.2526, allocations: 4 kB / 437.8 MB, free: 1.027 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.001045/0.2536, allocations: 0.6146 MB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2537, allocations: 12.03 kB / 438.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.961e-05/0.2537, allocations: 13.19 kB / 438.4 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.2538, allocations: 82.7 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.254, allocations: 56.64 kB / 438.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.2543, allocations: 218.7 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2543, allocations: 33.38 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.2544, allocations: 48.33 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.2551, allocations: 451.2 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2551, allocations: 7.938 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.2551, allocations: 16 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2551, allocations: 12 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.2556, allocations: 279.9 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2575, allocations: 1.271 MB / 440.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.2579, allocations: 222.3 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.2583, allocations: 168.7 kB / 441.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2583, allocations: 11.98 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.2583, allocations: 42.5 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.2583, allocations: 0 / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001327/0.2597, allocations: 482.4 kB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.2598, allocations: 239.3 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.26, allocations: 206.7 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.26, allocations: 33.7 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2601, allocations: 208.6 kB / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.2602, allocations: 115.1 kB / 442.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.2603, allocations: 57.7 kB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2605, allocations: 334.8 kB / 442.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2606, allocations: 75.95 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2608, allocations: 157.5 kB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.2612, allocations: 200.2 kB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2612, allocations: 0 / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000464/0.2616, allocations: 277.1 kB / 443.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2616, allocations: 8 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2616, allocations: 4.062 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2617, allocations: 0 / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.262, allocations: 87.83 kB / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.262, allocations: 4 kB / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2621, allocations: 31.73 kB / 443.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.2622, allocations: 12 kB / 443.8 MB, free: 10.69 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.0001598/0.2623, allocations: 157.7 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.2624, allocations: 27.86 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.2625, allocations: 30.66 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2625, allocations: 4 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.2625, allocations: 4 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2625, allocations: 3.984 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.2636, allocations: 0.7234 MB / 444.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2636, allocations: 0 / 444.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2638, allocations: 55.91 kB / 444.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003066/0.2641, allocations: 96.77 kB / 444.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2641, allocations: 4 kB / 444.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2662, allocations: 1.873 MB / 446.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2662, allocations: 0 / 446.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.267, allocations: 0.5061 MB / 447.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.267, allocations: 27.86 kB / 447.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.267, allocations: 8 kB / 447.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2672, allocations: 8 kB / 447.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2672, allocations: 31.88 kB / 447.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2673, allocations: 4 kB / 447.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.2674, allocations: 156.6 kB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2674, allocations: 0 / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.2678, allocations: 99.78 kB / 447.6 MB, free: 6.672 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.001068/0.2688, allocations: 1.047 MB / 448.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.2692, allocations: 196.2 kB / 448.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2692, allocations: 0 / 448.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.2697, allocations: 258.5 kB / 449.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2701, allocations: 36.42 kB / 449.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.2739, allocations: 2.906 MB / 452 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2743, allocations: 0.7831 MB / 452.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.2744, allocations: 25.92 kB / 452.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.2746, allocations: 103.4 kB / 452.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2746, allocations: 0 / 452.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.3164, allocations: 6.302 MB / 459.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.69, allocations: 11.92 kB / 459.2 MB, free: 11 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.217373959021643]