Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001231/0.001231, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001273/0.001273, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 366.8 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 52.15 MB / 419 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004203/0.1083, allocations: 2.841 MB / 421.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1098, allocations: 0.7205 MB / 422.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1099, allocations: 4 kB / 422.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.11, allocations: 67.36 kB / 422.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1103, allocations: 95.12 kB / 422.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1107, allocations: 127.7 kB / 422.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.1111, allocations: 438.8 kB / 423.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1115, allocations: 172.9 kB / 423.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1117, allocations: 183.3 kB / 423.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.112, allocations: 199.2 kB / 423.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.1121, allocations: 48 kB / 423.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.1121, allocations: 51.94 kB / 423.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1122, allocations: 95.73 kB / 424 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1124, allocations: 223 kB / 424.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.113, allocations: 0.4902 MB / 424.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.113, allocations: 0 / 424.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.113, allocations: 0 / 424.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.113, allocations: 0 / 424.7 MB, free: 6.457 MB / 350.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.00119/0.1142, allocations: 0.7016 MB / 425.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1142, allocations: 11.89 kB / 425.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.1143, allocations: 48.66 kB / 425.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1147, allocations: 277.1 kB / 425.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1147, allocations: 37.31 kB / 425.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.1148, allocations: 40.38 kB / 425.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.1155, allocations: 463.5 kB / 426.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1156, allocations: 0 / 426.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1156, allocations: 16 kB / 426.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1156, allocations: 8 kB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.1162, allocations: 291.9 kB / 426.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1181, allocations: 1.303 MB / 427.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.1186, allocations: 218.7 kB / 428.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.1189, allocations: 185.9 kB / 428.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.119, allocations: 4 kB / 428.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.119, allocations: 42.56 kB / 428.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.119, allocations: 0 / 428.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00156/0.1206, allocations: 0.5459 MB / 428.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.1207, allocations: 235.3 kB / 429.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1209, allocations: 207 kB / 429.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.121, allocations: 29.7 kB / 429.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1211, allocations: 212.6 kB / 429.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.772e-05/0.1212, allocations: 111.1 kB / 429.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.1213, allocations: 57.7 kB / 429.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1215, allocations: 334.8 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1217, allocations: 75.97 kB / 430.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1219, allocations: 160.7 kB / 430.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.1222, allocations: 195.4 kB / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1222, allocations: 4 kB / 430.4 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004808/0.1227, allocations: 281 kB / 430.7 MB, free: 44 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1227, allocations: 4 kB / 430.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1228, allocations: 3.984 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1228, allocations: 4 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1231, allocations: 76.02 kB / 430.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1231, allocations: 7.984 kB / 430.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1233, allocations: 27.78 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1233, allocations: 12 kB / 430.8 MB, free: 15.91 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.0001672/0.1235, allocations: 157.5 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.1236, allocations: 35.8 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.1236, allocations: 30.64 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1236, allocations: 0 / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.1237, allocations: 4 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1237, allocations: 0 / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1248, allocations: 0.7672 MB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1248, allocations: 4 kB / 431.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1251, allocations: 55.94 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/0.1254, allocations: 88.8 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1254, allocations: 8 kB / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.1277, allocations: 1.969 MB / 433.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1277, allocations: 0 / 433.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.1285, allocations: 0.4975 MB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.1286, allocations: 109 kB / 434.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.1286, allocations: 4.109 kB / 434.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1288, allocations: 15.94 kB / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.1289, allocations: 27.95 kB / 434.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1289, allocations: 8 kB / 434.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.129, allocations: 152.3 kB / 434.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.129, allocations: 0 / 434.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1295, allocations: 119.6 kB / 434.9 MB, free: 11.62 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.0001464/0.1296, allocations: 103.2 kB / 435 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.13, allocations: 205 kB / 435.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.13, allocations: 0 / 435.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.1305, allocations: 266.5 kB / 435.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1309, allocations: 32.97 kB / 435.4 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1323, allocations: 0.8854 MB / 436.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.1328, allocations: 0.7831 MB / 437.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.1328, allocations: 23.42 kB / 437.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1328, allocations: 4 kB / 437.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of Templates: time 0.006832/0.1397, allocations: 4.074 MB / 441.2 MB, free: 5.164 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1869338729884475]