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.001321/0.001321, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001472/0.001472, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.603/1.603, allocations: 230.6 MB / 254.8 MB, free: 15.24 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: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 51.92 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09893, allocations: 53.33 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004283/0.1032, allocations: 2.846 MB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1047, allocations: 0.7789 MB / 431.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1049, allocations: 8 kB / 431.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1051, allocations: 59.42 kB / 431.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1053, allocations: 91.06 kB / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1057, allocations: 127.8 kB / 431.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.1062, allocations: 454.8 kB / 431.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1065, allocations: 160.9 kB / 432 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.1068, allocations: 191.4 kB / 432.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.107, allocations: 203.2 kB / 432.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.1071, allocations: 44 kB / 432.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1072, allocations: 59.97 kB / 432.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.1073, allocations: 95.69 kB / 432.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1075, allocations: 215.1 kB / 432.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.108, allocations: 0.5134 MB / 433.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.108, allocations: 0 / 433.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.108, allocations: 7.938 kB / 433.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.108, allocations: 4 kB / 433.3 MB, free: 14.44 MB / 366.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.001149/0.1092, allocations: 0.686 MB / 434 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1092, allocations: 16.03 kB / 434 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.1095, allocations: 56.64 kB / 434.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1098, allocations: 276.5 kB / 434.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.1098, allocations: 33.38 kB / 434.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.1099, allocations: 48.33 kB / 434.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.1106, allocations: 459.6 kB / 434.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1106, allocations: 0 / 434.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1107, allocations: 16 kB / 434.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1107, allocations: 15.94 kB / 434.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005561/0.1113, allocations: 279.9 kB / 435.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.1132, allocations: 1.307 MB / 436.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.1136, allocations: 218.7 kB / 436.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.114, allocations: 168.8 kB / 436.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.114, allocations: 8.438 kB / 436.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1141, allocations: 42.55 kB / 436.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.1141, allocations: 4 kB / 436.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001422/0.1155, allocations: 0.5459 MB / 437.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.1156, allocations: 235.3 kB / 437.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1158, allocations: 206.8 kB / 437.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1159, allocations: 33.7 kB / 437.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.116, allocations: 204.6 kB / 438.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.1161, allocations: 107.1 kB / 438.2 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1162, allocations: 65.69 kB / 438.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1163, allocations: 334.8 kB / 438.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1165, allocations: 75.91 kB / 438.7 MB, free: 8.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.1167, allocations: 156.5 kB / 438.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.1171, allocations: 203.3 kB / 439 MB, free: 8.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1171, allocations: 4 kB / 439 MB, free: 8.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004685/0.1175, allocations: 273.1 kB / 439.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1176, allocations: 8 kB / 439.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1176, allocations: 0 / 439.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1176, allocations: 0 / 439.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.1179, allocations: 87.95 kB / 439.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.1179, allocations: 4 kB / 439.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1181, allocations: 35.72 kB / 439.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1181, allocations: 12 kB / 439.5 MB, free: 7.898 MB / 366.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.0001525/0.1183, allocations: 149.7 kB / 439.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.1183, allocations: 27.8 kB / 439.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.1184, allocations: 34.64 kB / 439.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1184, allocations: 4 kB / 439.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1184, allocations: 8 kB / 439.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1184, allocations: 0 / 439.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1195, allocations: 0.7595 MB / 440.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1195, allocations: 3.938 kB / 440.4 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.1198, allocations: 51.91 kB / 440.5 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.1201, allocations: 96.83 kB / 440.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.1201, allocations: 4 kB / 440.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.1223, allocations: 1.973 MB / 442.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1223, allocations: 0 / 442.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.1231, allocations: 0.4974 MB / 443.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.1231, allocations: 104.9 kB / 443.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1232, allocations: 8.062 kB / 443.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1233, allocations: 8.125 kB / 443.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.1234, allocations: 27.97 kB / 443.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1234, allocations: 11.98 kB / 443.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1236, allocations: 152.5 kB / 443.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1236, allocations: 0 / 443.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.124, allocations: 111.7 kB / 443.5 MB, free: 3.625 MB / 366.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.0001402/0.1241, allocations: 107.2 kB / 443.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.1245, allocations: 196 kB / 443.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1245, allocations: 4 kB / 443.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.125, allocations: 270.8 kB / 444 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1254, allocations: 35.98 kB / 444.1 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1269, allocations: 0.8811 MB / 444.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.1272, allocations: 0.7909 MB / 445.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.1273, allocations: 23.44 kB / 445.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1273, allocations: 0 / 445.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of Templates: time 0.1876/0.3149, allocations: 4.065 MB / 449.8 MB, free: 23.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] 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: 7.647331961983582]