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.00247/0.00247, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002779/0.002779, allocations: 169.6 kB / 24.27 MB, free: 156 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 1.529/1.529, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 2.094e-06/2.094e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.617e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.007475/0.007511, allocations: 2.774 MB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.01015, allocations: 0.74 MB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.01033, allocations: 8 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.01055, allocations: 75.34 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.01097, allocations: 95 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.01163, allocations: 131.7 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009176/0.01254, allocations: 454.7 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.01303, allocations: 153.3 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007064/0.01373, allocations: 291.4 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.01414, allocations: 151.6 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.01427, allocations: 47.98 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.01446, allocations: 55.98 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.01464, allocations: 99.66 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.01496, allocations: 155.6 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.01603, allocations: 0.5257 MB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.01603, allocations: 0 / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01603, allocations: 0 / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.01604, allocations: 0 / 278 MB, free: 12.11 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.002085/0.01813, allocations: 0.7493 MB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.01819, allocations: 12.03 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.01868, allocations: 84.66 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.01922, allocations: 220.7 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.01929, allocations: 37.38 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.01943, allocations: 48.33 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.02106, allocations: 0.6507 MB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.02109, allocations: 192 / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.02117, allocations: 20.38 kB / 279.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.0212, allocations: 15.94 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.02227, allocations: 267.9 kB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.02605, allocations: 1.249 MB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.0269, allocations: 231.2 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.02761, allocations: 186 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.02766, allocations: 7.938 kB / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.02771, allocations: 41.39 kB / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 3.086e-06/0.02772, allocations: 0 / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002744/0.03046, allocations: 490 kB / 282.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002683/0.03073, allocations: 239.3 kB / 282.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.03116, allocations: 253.8 kB / 282.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.03123, allocations: 33.7 kB / 282.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.03155, allocations: 259.3 kB / 283.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.03174, allocations: 119.1 kB / 283.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.03196, allocations: 75.36 kB / 283.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004647/0.03242, allocations: 0.5118 MB / 283.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.03273, allocations: 71.97 kB / 283.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.0334, allocations: 372.5 kB / 284.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.03394, allocations: 229.1 kB / 284.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.03395, allocations: 0 / 284.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005599/0.03451, allocations: 281.3 kB / 284.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.03453, allocations: 12.05 kB / 284.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.03453, allocations: 0 / 284.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.03456, allocations: 7.938 kB / 284.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.03492, allocations: 71.91 kB / 284.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.03493, allocations: 4 kB / 284.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.03511, allocations: 31.77 kB / 284.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.03514, allocations: 12 kB / 284.8 MB, free: 4.84 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.0002032/0.03534, allocations: 196.5 kB / 285 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.03542, allocations: 35.8 kB / 285.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-05/0.0355, allocations: 34.64 kB / 285.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.03551, allocations: 11.94 kB / 285.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.03552, allocations: 4 kB / 285.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.03552, allocations: 0 / 285.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.03675, allocations: 0.7445 MB / 285.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.03675, allocations: 0 / 285.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.03702, allocations: 51.91 kB / 285.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.03746, allocations: 111.6 kB / 286 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.03748, allocations: 7.984 kB / 286 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.04014, allocations: 2.369 MB / 288.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.04015, allocations: 3.938 kB / 288.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.04105, allocations: 0.5591 MB / 289 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.0411, allocations: 27.8 kB / 289 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.04114, allocations: 12.03 kB / 289 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.04129, allocations: 15.94 kB / 289 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.04136, allocations: 27.89 kB / 289 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.04138, allocations: 8.031 kB / 289 MB, free: 420 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.04153, allocations: 180.2 kB / 289.2 MB, free: 240 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04153, allocations: 0 / 289.2 MB, free: 240 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000419/0.04195, allocations: 115.7 kB / 289.3 MB, free: 124 kB / 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.0001509/0.0421, allocations: 99.23 kB / 289.4 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.04259, allocations: 219.5 kB / 289.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.04259, allocations: 0 / 289.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.04313, allocations: 344.8 kB / 290 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.0435, allocations: 31.97 kB / 290 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.0448, allocations: 0.7556 MB / 290.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.04501, allocations: 176.8 kB / 290.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.972e-05/0.0451, allocations: 17.95 kB / 291 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.04517, allocations: 24.48 kB / 291 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04517, allocations: 0 / 291 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.008269/0.05344, allocations: 3.134 MB / 294.1 MB, free: 11.27 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","/var/lib/jenkins/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: 4.5773912370204926]