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.0009965/0.0009965, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001006/0.001006, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.961/0.961, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.096e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002794/0.002815, allocations: 2.79 MB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003833, allocations: 0.7554 MB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.003931, allocations: 8 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.995e-05/0.004031, allocations: 67.34 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.004201, allocations: 95 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.004543, allocations: 135.7 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.004893, allocations: 458.6 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.005138, allocations: 157.4 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.005446, allocations: 287.4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.005612, allocations: 147.5 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.005659, allocations: 44 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.005745, allocations: 52 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.00581, allocations: 103.6 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.00592, allocations: 151.7 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.006251, allocations: 338.7 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006253, allocations: 0 / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006254, allocations: 0 / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.00626, allocations: 0 / 278.5 MB, free: 11.98 MB / 266.7 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.0007933/0.007053, allocations: 0.7184 MB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.007094, allocations: 8.031 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.007288, allocations: 96.62 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.007528, allocations: 228.6 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.007553, allocations: 37.38 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.007614, allocations: 48.33 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.008117, allocations: 0.5655 MB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.008133, allocations: 4.172 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.008161, allocations: 16.38 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.008176, allocations: 15.94 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.008425, allocations: 161.9 kB / 280.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.009535, allocations: 1.104 MB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.009798, allocations: 187.2 kB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.01, allocations: 140.2 kB / 281.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.01002, allocations: 8 kB / 281.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.01005, allocations: 37.39 kB / 281.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.01005, allocations: 0 / 281.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007597/0.01081, allocations: 409.9 kB / 282.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.01088, allocations: 239.3 kB / 282.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.01101, allocations: 225.9 kB / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.01103, allocations: 33.7 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01114, allocations: 259.2 kB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.0112, allocations: 115 kB / 283.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.01127, allocations: 63.36 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01138, allocations: 0.5001 MB / 283.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.01145, allocations: 47.97 kB / 283.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.01162, allocations: 328.5 kB / 284.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.01179, allocations: 149.1 kB / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01179, allocations: 0 / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000237/0.01203, allocations: 225.3 kB / 284.4 MB, free: 5.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01204, allocations: 8.062 kB / 284.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01205, allocations: 0 / 284.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01206, allocations: 7.938 kB / 284.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.01224, allocations: 75.89 kB / 284.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.01225, allocations: 4 kB / 284.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.01233, allocations: 31.78 kB / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01234, allocations: 8 kB / 284.6 MB, free: 5.477 MB / 266.7 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 9.635e-05/0.01243, allocations: 172.5 kB / 284.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.01247, allocations: 39.84 kB / 284.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.01251, allocations: 30.66 kB / 284.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01251, allocations: 3.938 kB / 284.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.01252, allocations: 4 kB / 284.8 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01253, allocations: 3.984 kB / 284.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.01311, allocations: 0.6194 MB / 285.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01311, allocations: 4 kB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.01324, allocations: 43.97 kB / 285.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002601/0.0135, allocations: 95.53 kB / 285.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.01352, allocations: 11.98 kB / 285.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.01472, allocations: 2.127 MB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01473, allocations: 7.875 kB / 287.7 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.01513, allocations: 459.7 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.01515, allocations: 23.8 kB / 288.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.01517, allocations: 11.94 kB / 288.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.01524, allocations: 8 kB / 288.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01529, allocations: 27.89 kB / 288.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.0153, allocations: 16.08 kB / 288.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.01537, allocations: 168.2 kB / 288.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01537, allocations: 0 / 288.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.0156, allocations: 107.7 kB / 288.5 MB, free: 1.297 MB / 266.7 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 8.96e-05/0.01569, allocations: 103.2 kB / 288.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.01592, allocations: 155.5 kB / 288.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01592, allocations: 0 / 288.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.01621, allocations: 308.8 kB / 289.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.01645, allocations: 27.98 kB / 289.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/0.01722, allocations: 0.7243 MB / 289.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.662e-05/0.01728, allocations: 96.3 kB / 289.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.01733, allocations: 17.95 kB / 289.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.01738, allocations: 24.5 kB / 290 MB, free: 15.76 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01738, allocations: 0 / 290 MB, free: 15.76 MB / 282.7 MB Notification: Performance of Templates: time 0.004908/0.02229, allocations: 3.162 MB / 293.1 MB, free: 12.64 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.017581171821803]