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.0009437/0.0009437, 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.0009349/0.0009349, allocations: 165 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.9256/0.9256, allocations: 177.2 MB / 205 MB, free: 5.301 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.252e-06/1.252e-06, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.949e-05, allocations: 2.312 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00616/0.006179, allocations: 2.812 MB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.007257, allocations: 0.7515 MB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.007368, allocations: 8 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.007477, allocations: 59.42 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.01068, allocations: 99 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.01104, allocations: 139.6 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.01143, allocations: 458.6 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.01167, allocations: 153.4 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.01199, allocations: 279.5 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.01218, allocations: 147.6 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.01223, allocations: 52 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.01232, allocations: 55.98 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.01239, allocations: 103.6 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.01251, allocations: 163.6 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.01285, allocations: 326.8 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01285, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01285, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.01286, allocations: 0 / 278.5 MB, free: 11.82 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.00381/0.01667, allocations: 0.7184 MB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.01671, allocations: 8.031 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.01694, allocations: 100.6 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.0172, allocations: 220.7 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.01723, allocations: 33.38 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.01729, allocations: 48.33 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.0181, allocations: 0.5694 MB / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01812, allocations: 192 / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.01815, allocations: 20.38 kB / 280.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01817, allocations: 11.94 kB / 280.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.01847, allocations: 165.9 kB / 280.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.02288, allocations: 1.112 MB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.02319, allocations: 179.2 kB / 281.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.02343, allocations: 140.2 kB / 281.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.02345, allocations: 4 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.02348, allocations: 45.33 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.923e-06/0.02349, allocations: 0 / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009286/0.02441, allocations: 405.9 kB / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.0245, allocations: 235.3 kB / 282.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.02465, allocations: 233.8 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.02467, allocations: 33.7 kB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.02479, allocations: 255.2 kB / 283 MB, free: 6.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.02486, allocations: 107.1 kB / 283.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.02494, allocations: 63.36 kB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.02507, allocations: 0.5001 MB / 283.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.02516, allocations: 43.97 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.02537, allocations: 340.4 kB / 284.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.02859, allocations: 145.2 kB / 284.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02859, allocations: 4 kB / 284.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003073/0.0289, allocations: 217.3 kB / 284.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02892, allocations: 10.66 kB / 284.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.02892, allocations: 0 / 284.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.02894, allocations: 7.938 kB / 284.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.02918, allocations: 79.95 kB / 284.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.02918, allocations: 4 kB / 284.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.02928, allocations: 31.78 kB / 284.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.0293, allocations: 11.92 kB / 284.6 MB, free: 5.316 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 0.0001093/0.02941, allocations: 176.5 kB / 284.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.02946, allocations: 31.86 kB / 284.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.0295, allocations: 26.66 kB / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.02951, allocations: 7.938 kB / 284.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.02952, allocations: 7.984 kB / 284.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02952, allocations: 4 kB / 284.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.03023, allocations: 0.6156 MB / 285.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.03023, allocations: 0 / 285.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.03041, allocations: 55.89 kB / 285.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.03071, allocations: 91.59 kB / 285.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.03073, allocations: 8 kB / 285.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/0.03541, allocations: 2.131 MB / 287.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.03541, allocations: 7.969 kB / 287.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.03593, allocations: 459.6 kB / 288.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.03595, allocations: 23.8 kB / 288.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.03598, allocations: 7.938 kB / 288.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.03609, allocations: 15.98 kB / 288.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.03614, allocations: 24.02 kB / 288.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.03616, allocations: 12 kB / 288.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.03623, allocations: 160.2 kB / 288.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03623, allocations: 0 / 288.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.03659, allocations: 115.7 kB / 288.5 MB, free: 1.141 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 0.0001056/0.0367, allocations: 107.2 kB / 288.6 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.03697, allocations: 147.5 kB / 288.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.03697, allocations: 4 kB / 288.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.04031, allocations: 308.5 kB / 289.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.04063, allocations: 36.17 kB / 289.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09184/0.1325, allocations: 0.7087 MB / 289.8 MB, free: 26.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.1325, allocations: 99.89 kB / 289.9 MB, free: 26.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.032e-05/0.1326, allocations: 21.59 kB / 289.9 MB, free: 26.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.1327, allocations: 19.84 kB / 290 MB, free: 26.16 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1327, allocations: 0.8438 kB / 290 MB, free: 26.16 MB / 266.7 MB Notification: Performance of Templates: time 0.005304/0.138, allocations: 3.259 MB / 293.2 MB, free: 25.91 MB / 266.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: 2.695197007153183]