Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001334/0.001334, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 14.72 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.001482/0.001482, allocations: 216 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 62.73 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2462, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003292/0.2495, allocations: 2.521 MB / 399.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2506, allocations: 0.7375 MB / 400.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.2508, allocations: 6.25 kB / 400.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2509, allocations: 62.41 kB / 400.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.2511, allocations: 93.39 kB / 400.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2514, allocations: 116.3 kB / 400.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.2518, allocations: 444.9 kB / 400.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.252, allocations: 162.2 kB / 401 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.2522, allocations: 180.6 kB / 401.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.2524, allocations: 167.2 kB / 401.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.2525, allocations: 44.78 kB / 401.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.2526, allocations: 46.09 kB / 401.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.2526, allocations: 104.7 kB / 401.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2528, allocations: 176.4 kB / 401.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.2533, allocations: 0.4987 MB / 402.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2533, allocations: 1.312 kB / 402.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2533, allocations: 4 kB / 402.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2533, allocations: 1.031 kB / 402.2 MB, free: 6.141 MB / 318.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.0009368/0.2542, allocations: 0.6135 MB / 402.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2542, allocations: 13.45 kB / 402.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.2543, allocations: 47.86 kB / 402.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2546, allocations: 230.1 kB / 403.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2546, allocations: 30.47 kB / 403.1 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.2547, allocations: 38.97 kB / 403.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.2554, allocations: 0.623 MB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.2555, allocations: 1.828 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.2555, allocations: 19.47 kB / 403.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2555, allocations: 9.688 kB / 403.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.2561, allocations: 285.3 kB / 404.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.2578, allocations: 1.076 MB / 405.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.2582, allocations: 221 kB / 405.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.2586, allocations: 173.2 kB / 405.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2586, allocations: 3.844 kB / 405.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2586, allocations: 41 kB / 405.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.2586, allocations: 0 / 405.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001398/0.26, allocations: 464.2 kB / 406 MB, free: 3.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.2601, allocations: 240.2 kB / 406.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2603, allocations: 182.8 kB / 406.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2603, allocations: 32.45 kB / 406.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2604, allocations: 205.3 kB / 406.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.2605, allocations: 112.5 kB / 406.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.2606, allocations: 63 kB / 406.8 MB, free: 3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.2606, allocations: 331.3 kB / 407.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2608, allocations: 80.53 kB / 407.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.261, allocations: 335.6 kB / 407.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.2618, allocations: 378.8 kB / 407.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2618, allocations: 0.75 kB / 407.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004225/0.2622, allocations: 278.1 kB / 408.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2622, allocations: 10.23 kB / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2622, allocations: 1.406 kB / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2623, allocations: 1.344 kB / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2626, allocations: 82.12 kB / 408.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2626, allocations: 2 kB / 408.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.2628, allocations: 27.33 kB / 408.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2628, allocations: 8.391 kB / 408.3 MB, free: 1.996 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0002657/0.263, allocations: 161.9 kB / 408.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.2631, allocations: 23.92 kB / 408.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.2632, allocations: 31.8 kB / 408.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2632, allocations: 8.094 kB / 408.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.2632, allocations: 1.25 kB / 408.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2632, allocations: 3.422 kB / 408.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.2642, allocations: 0.6417 MB / 409.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2642, allocations: 2.078 kB / 409.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2644, allocations: 59.14 kB / 409.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.2647, allocations: 90.27 kB / 409.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.2647, allocations: 18.11 kB / 409.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.2664, allocations: 1.823 MB / 411.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2664, allocations: 1.781 kB / 411.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.2672, allocations: 0.5031 MB / 411.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.2673, allocations: 25.33 kB / 411.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.2673, allocations: 6.312 kB / 411.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2675, allocations: 12.69 kB / 411.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.2675, allocations: 25 kB / 411.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2675, allocations: 6.484 kB / 411.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2677, allocations: 132.7 kB / 411.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2677, allocations: 0 / 411.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2681, allocations: 110.1 kB / 412 MB, free: 15.34 MB / 334.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.000143/0.2682, allocations: 107.5 kB / 412.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.2687, allocations: 191.6 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2687, allocations: 1.125 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.2691, allocations: 274.4 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2694, allocations: 30.61 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2709, allocations: 0.8525 MB / 413.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2711, allocations: 178.5 kB / 413.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.2712, allocations: 22.92 kB / 413.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.2713, allocations: 21.23 kB / 413.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2713, allocations: 4 kB / 413.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Templates: time 0.007889/0.2792, allocations: 3.22 MB / 416.9 MB, free: 12.63 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.608073642477393]