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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 189.9 kB / 22.92 MB, free: 5.48 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.392/1.392, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 58.73 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3401, allocations: 49.12 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00386/0.344, allocations: 2.792 MB / 397.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3457, allocations: 0.7618 MB / 398.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.3459, allocations: 6.531 kB / 398.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.346, allocations: 66.56 kB / 398.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.3462, allocations: 90.7 kB / 398.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.3467, allocations: 120.5 kB / 398.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.3471, allocations: 440.4 kB / 398.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3474, allocations: 174.3 kB / 398.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3476, allocations: 172 kB / 399.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.3479, allocations: 211.9 kB / 399.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.348, allocations: 44.59 kB / 399.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.348, allocations: 45.84 kB / 399.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.3481, allocations: 97.84 kB / 399.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.3483, allocations: 216.3 kB / 399.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.3489, allocations: 0.4931 MB / 400.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3489, allocations: 1.094 kB / 400.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3489, allocations: 0 / 400.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.349, allocations: 0.5156 kB / 400.2 MB, free: 5.809 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.001148/0.3501, allocations: 0.6892 MB / 400.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3501, allocations: 13.77 kB / 400.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.3502, allocations: 46.25 kB / 401 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3505, allocations: 286.5 kB / 401.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.3506, allocations: 36.91 kB / 401.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.3506, allocations: 40.64 kB / 401.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.3514, allocations: 451.9 kB / 401.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3514, allocations: 4.969 kB / 401.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.3515, allocations: 20.5 kB / 401.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.3515, allocations: 9.375 kB / 401.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.3521, allocations: 285.2 kB / 402.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.354, allocations: 1.293 MB / 403.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.3544, allocations: 222 kB / 403.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.3549, allocations: 182.9 kB / 403.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3549, allocations: 7.453 kB / 403.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3549, allocations: 37.5 kB / 403.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.3549, allocations: 0 / 403.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001454/0.3564, allocations: 0.5436 MB / 404.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.3564, allocations: 236 kB / 404.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3566, allocations: 212.8 kB / 404.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3567, allocations: 32.78 kB / 404.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3568, allocations: 203.7 kB / 405 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.3568, allocations: 104.6 kB / 405.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.3569, allocations: 59.56 kB / 405.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.357, allocations: 335.9 kB / 405.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3572, allocations: 76.33 kB / 405.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3574, allocations: 152.6 kB / 405.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.3582, allocations: 370.7 kB / 406.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3582, allocations: 0 / 406.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004228/0.3586, allocations: 279.4 kB / 406.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3587, allocations: 5.5 kB / 406.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3587, allocations: 2.219 kB / 406.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3587, allocations: 1.375 kB / 406.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.359, allocations: 78.39 kB / 406.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.359, allocations: 7.516 kB / 406.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3592, allocations: 34.95 kB / 406.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3592, allocations: 7.391 kB / 406.5 MB, free: 1.719 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.0002227/0.3595, allocations: 155 kB / 406.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3595, allocations: 28.17 kB / 406.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.3596, allocations: 33.5 kB / 406.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3596, allocations: 6.75 kB / 406.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.3596, allocations: 10.69 kB / 406.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3596, allocations: 6.094 kB / 406.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3606, allocations: 0.759 MB / 407.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3606, allocations: 5.094 kB / 407.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.3609, allocations: 46.31 kB / 407.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.3613, allocations: 91.56 kB / 407.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.3613, allocations: 6.531 kB / 407.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.3635, allocations: 1.978 MB / 409.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3635, allocations: 3.938 kB / 409.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008903/0.3644, allocations: 0.496 MB / 410.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.3645, allocations: 107.1 kB / 410.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3645, allocations: 6.5 kB / 410.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.3647, allocations: 11.48 kB / 410.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.3647, allocations: 32.25 kB / 410.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3648, allocations: 6.531 kB / 410.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.3649, allocations: 154.8 kB / 410.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3649, allocations: 4 kB / 410.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000458/0.3654, allocations: 113.7 kB / 410.5 MB, free: 14.7 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.0001463/0.3655, allocations: 103.8 kB / 410.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.366, allocations: 200.4 kB / 410.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.366, allocations: 1.031 kB / 410.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.3665, allocations: 266.9 kB / 411.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3669, allocations: 23.05 kB / 411.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3684, allocations: 0.86 MB / 412 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.3689, allocations: 0.7839 MB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.369, allocations: 25.27 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.3691, allocations: 26.16 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3691, allocations: 0 / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.007915/0.377, allocations: 3.069 MB / 415.9 MB, free: 11.56 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.72438536118716]