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.0008674/0.0008674, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.000913/0.000913, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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.8505/0.8505, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/1.076e-05, allocations: 5.797 kB / 273.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002565/0.002576, allocations: 2.752 MB / 276.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.003573, allocations: 0.7867 MB / 277 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.003664, allocations: 4 kB / 277 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.577e-05/0.00375, allocations: 71.34 kB / 277.1 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.003908, allocations: 97.84 kB / 277.2 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.004188, allocations: 131.7 kB / 277.3 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.004485, allocations: 462.6 kB / 277.7 MB, free: 160 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.004682, allocations: 163.9 kB / 277.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.004929, allocations: 291.3 kB / 278.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005076, allocations: 147.5 kB / 278.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.005118, allocations: 48 kB / 278.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.005184, allocations: 52 kB / 278.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.005235, allocations: 99.72 kB / 278.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.005327, allocations: 151.6 kB / 278.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.005578, allocations: 338.8 kB / 279 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.00558, allocations: 0 / 279 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00558, allocations: 0 / 279 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005584, allocations: 0 / 279 MB, free: 14.89 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.0005509/0.006135, allocations: 0.6014 MB / 279.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.006161, allocations: 8.031 kB / 279.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.006308, allocations: 72.88 kB / 279.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.006473, allocations: 178 kB / 279.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.006495, allocations: 41.38 kB / 279.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.00654, allocations: 40.38 kB / 279.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.006867, allocations: 0.5238 MB / 280.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.00688, allocations: 4.188 kB / 280.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.006902, allocations: 20.38 kB / 280.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006911, allocations: 15.94 kB / 280.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.007054, allocations: 118.9 kB / 280.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.007939, allocations: 0.9114 MB / 281.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.00835, allocations: 146.7 kB / 281.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.008487, allocations: 120.7 kB / 281.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.008503, allocations: 4.5 kB / 281.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.008524, allocations: 38.56 kB / 281.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.008526, allocations: 0 / 281.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.000556/0.009082, allocations: 342.7 kB / 282.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.009146, allocations: 239.3 kB / 282.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.009231, allocations: 174.5 kB / 282.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.009247, allocations: 29.7 kB / 282.6 MB, free: 11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.009318, allocations: 200.5 kB / 282.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.009364, allocations: 115 kB / 282.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.009419, allocations: 57.67 kB / 283 MB, free: 10.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.009488, allocations: 334.8 kB / 283.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.009523, allocations: 23.98 kB / 283.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.009649, allocations: 300.8 kB / 283.6 MB, free: 9.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.009753, allocations: 112.8 kB / 283.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009756, allocations: 4 kB / 283.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001458/0.009902, allocations: 153.3 kB / 283.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.009912, allocations: 12.06 kB / 283.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.009916, allocations: 0 / 283.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.009927, allocations: 4 kB / 283.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.0101, allocations: 79.89 kB / 284 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.0101, allocations: 7.938 kB / 284 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.01017, allocations: 27.78 kB / 284 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.01018, allocations: 8 kB / 284 MB, free: 9.488 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 7.297e-05/0.01025, allocations: 129.8 kB / 284.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.01028, allocations: 23.97 kB / 284.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.01031, allocations: 34.59 kB / 284.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01032, allocations: 11.98 kB / 284.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01032, allocations: 0 / 284.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01032, allocations: 7.938 kB / 284.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.01073, allocations: 439.5 kB / 284.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01073, allocations: 0 / 284.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.01086, allocations: 47.91 kB / 284.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.01105, allocations: 84.77 kB / 284.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01106, allocations: 8 kB / 284.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008185/0.01188, allocations: 1.503 MB / 286.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01188, allocations: 0 / 286.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.01215, allocations: 337.6 kB / 286.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01217, allocations: 23.83 kB / 286.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01218, allocations: 8 kB / 286.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.01225, allocations: 8 kB / 286.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.01229, allocations: 27.89 kB / 286.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.0123, allocations: 8 kB / 286.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.031e-05/0.01233, allocations: 46.44 kB / 286.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01233, allocations: 0 / 286.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.01253, allocations: 115.7 kB / 286.8 MB, free: 6.496 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 7.063e-05/0.0126, allocations: 88.28 kB / 286.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.01274, allocations: 125.2 kB / 287 MB, free: 6.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01274, allocations: 0 / 287 MB, free: 6.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.01294, allocations: 242.7 kB / 287.3 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.01311, allocations: 35.94 kB / 287.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.01367, allocations: 0.6185 MB / 287.9 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/0.01372, allocations: 96.3 kB / 288 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.01378, allocations: 25.94 kB / 288.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01389, allocations: 103.3 kB / 288.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01389, allocations: 0 / 288.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of Templates: time 0.00493/0.01882, allocations: 3.293 MB / 291.4 MB, free: 1.848 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.3446959359571338]