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.001336/0.001336, allocations: 80.8 kB / 21.5 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.0009219/0.0009219, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.9084/0.9084, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.477e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002603/0.002618, allocations: 2.803 MB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.003608, allocations: 0.7902 MB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.003694, allocations: 8 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.462e-05/0.003778, allocations: 63.42 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.003935, allocations: 99 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.004194, allocations: 127.7 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.004498, allocations: 462.6 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.004687, allocations: 163.3 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.004937, allocations: 279.5 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.005083, allocations: 151.5 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.005122, allocations: 44 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.005203, allocations: 60 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.005251, allocations: 99.64 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.00534, allocations: 159.6 kB / 278.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.005592, allocations: 330.8 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005594, allocations: 0 / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005594, allocations: 0 / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005598, allocations: 0 / 279.1 MB, free: 11.62 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.0005785/0.006177, allocations: 0.5976 MB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.006204, allocations: 8.031 kB / 279.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.006355, allocations: 76.88 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.00652, allocations: 185.8 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.00654, allocations: 33.38 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.006582, allocations: 44.38 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.006965, allocations: 0.5315 MB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006978, allocations: 4.188 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.006999, allocations: 20.38 kB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.007007, allocations: 15.92 kB / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.007141, allocations: 115 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.008004, allocations: 0.9075 MB / 281.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.008175, allocations: 146.7 kB / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.008313, allocations: 123.2 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.008329, allocations: 8 kB / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.008349, allocations: 38.55 kB / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.00835, allocations: 0 / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006545/0.009005, allocations: 335.3 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.009066, allocations: 235.3 kB / 282.5 MB, free: 7.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.009149, allocations: 182.5 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.009166, allocations: 33.7 kB / 282.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.009242, allocations: 196.5 kB / 282.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.009286, allocations: 111 kB / 283 MB, free: 7.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.009341, allocations: 65.66 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.009411, allocations: 330.8 kB / 283.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.009445, allocations: 27.98 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.00956, allocations: 296.8 kB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.00967, allocations: 124.5 kB / 283.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009672, allocations: 0 / 283.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001409/0.009813, allocations: 149.5 kB / 284 MB, free: 6.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.009823, allocations: 4 kB / 284 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.009827, allocations: 3.938 kB / 284 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.009836, allocations: 4 kB / 284 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.01006, allocations: 115.1 kB / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01007, allocations: 0 / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.01013, allocations: 23.84 kB / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01014, allocations: 15.98 kB / 284.1 MB, free: 6.188 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 6.898e-05/0.01021, allocations: 121.8 kB / 284.2 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.01024, allocations: 27.92 kB / 284.3 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.01027, allocations: 34.64 kB / 284.3 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01028, allocations: 4 kB / 284.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01028, allocations: 7.938 kB / 284.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01028, allocations: 0 / 284.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.01067, allocations: 457.9 kB / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01067, allocations: 0 / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.01082, allocations: 66.94 kB / 284.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.01101, allocations: 88.75 kB / 284.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01102, allocations: 8 kB / 284.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.01208, allocations: 1.487 MB / 286.4 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01208, allocations: 0 / 286.4 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.01234, allocations: 329.5 kB / 286.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.01236, allocations: 27.73 kB / 286.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.01238, allocations: 19.92 kB / 286.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.01245, allocations: 8 kB / 286.8 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.01248, allocations: 19.95 kB / 286.8 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01249, allocations: 8 kB / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.894e-05/0.01252, allocations: 45.91 kB / 286.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 0 / 286.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.01271, allocations: 111.7 kB / 287 MB, free: 3.188 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 6.765e-05/0.01278, allocations: 80.41 kB / 287 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01292, allocations: 125.3 kB / 287.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01292, allocations: 0 / 287.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.01312, allocations: 246.7 kB / 287.4 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01329, allocations: 39.91 kB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.01385, allocations: 0.6263 MB / 288.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.0139, allocations: 96.3 kB / 288.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.01395, allocations: 29.92 kB / 288.2 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.01407, allocations: 103.3 kB / 288.3 MB, free: 1.777 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01407, allocations: 0 / 288.3 MB, free: 1.777 MB / 266.7 MB Notification: Performance of Templates: time 0.004802/0.01888, allocations: 3.604 MB / 291.9 MB, free: 14.24 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 -s gbode -gbm=radauIIA3 -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.509893239941448]