Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001918, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2546, allocations: 53.4 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004001/0.2586, allocations: 2.607 MB / 434.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.26, allocations: 0.7206 MB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.2602, allocations: 8 kB / 435.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2603, allocations: 63.36 kB / 435.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.2605, allocations: 111 kB / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2609, allocations: 123.8 kB / 435.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.2614, allocations: 450.8 kB / 436 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.2617, allocations: 161.4 kB / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.262, allocations: 195.3 kB / 436.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.2623, allocations: 203.2 kB / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.2623, allocations: 44 kB / 436.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2625, allocations: 55.98 kB / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.2625, allocations: 103.7 kB / 436.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2627, allocations: 175.2 kB / 436.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.2633, allocations: 0.5119 MB / 437.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2633, allocations: 0 / 437.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.019e-06/0.2633, allocations: 3.984 kB / 437.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2633, allocations: 0 / 437.4 MB, free: 0.9375 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.001065/0.2644, allocations: 0.6185 MB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2644, allocations: 12.03 kB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.528e-05/0.2644, allocations: 9.188 kB / 438 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.193e-05/0.2645, allocations: 82.72 kB / 438.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.2648, allocations: 60.64 kB / 438.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.2651, allocations: 222.6 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2651, allocations: 29.38 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.2652, allocations: 48.33 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.266, allocations: 0.6241 MB / 439.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.266, allocations: 0 / 439.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.2661, allocations: 16 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.2661, allocations: 12 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005409/0.2666, allocations: 275.9 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2685, allocations: 1.17 MB / 440.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.2689, allocations: 222.6 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.2693, allocations: 177.4 kB / 440.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2694, allocations: 4 kB / 441 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2694, allocations: 34.56 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.2694, allocations: 0 / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001432/0.2708, allocations: 487.1 kB / 441.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.271, allocations: 239.3 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2712, allocations: 206.8 kB / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.2712, allocations: 33.7 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2714, allocations: 204.6 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.2715, allocations: 111.1 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2716, allocations: 61.69 kB / 442.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2717, allocations: 334.8 kB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.2719, allocations: 75.97 kB / 442.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.2722, allocations: 340.8 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.2726, allocations: 200.2 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2726, allocations: 0 / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004685/0.273, allocations: 281.1 kB / 443.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.273, allocations: 11.98 kB / 443.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2731, allocations: 0 / 443.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2731, allocations: 0 / 443.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.2734, allocations: 83.89 kB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2734, allocations: 4 kB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.2736, allocations: 35.73 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.2736, allocations: 8 kB / 443.6 MB, free: 10.26 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.0001614/0.2738, allocations: 153.8 kB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.2738, allocations: 27.86 kB / 443.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.2739, allocations: 34.64 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2739, allocations: 4 kB / 443.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.2739, allocations: 7.938 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2739, allocations: 7.922 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.275, allocations: 0.6923 MB / 444.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.275, allocations: 0 / 444.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.2753, allocations: 47.97 kB / 444.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.2756, allocations: 92.83 kB / 444.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.2757, allocations: 4 kB / 444.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.2778, allocations: 1.858 MB / 446.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.2778, allocations: 8 kB / 446.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.2786, allocations: 0.4901 MB / 447.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.2786, allocations: 27.78 kB / 447.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.2787, allocations: 8.062 kB / 447.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2789, allocations: 11.98 kB / 447.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.2789, allocations: 35.81 kB / 447.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2789, allocations: 8 kB / 447.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.2791, allocations: 148.6 kB / 447.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2791, allocations: 3.938 kB / 447.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.2795, allocations: 111.7 kB / 447.4 MB, free: 6.281 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.001132/0.2806, allocations: 1.043 MB / 448.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.2811, allocations: 195.8 kB / 448.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2811, allocations: 3.938 kB / 448.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.2815, allocations: 262.7 kB / 448.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.282, allocations: 32.23 kB / 448.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.2856, allocations: 2.903 MB / 451.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2858, allocations: 180.8 kB / 452 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.2859, allocations: 21.94 kB / 452 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.2861, allocations: 103.4 kB / 452.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2861, allocations: 0 / 452.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.3177, allocations: 6.48 MB / 458.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.38, allocations: 19.8 kB / 458.6 MB, free: 11.03 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.130312597029842]