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.0009325/0.0009325, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.006054/0.006054, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8674/0.8674, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.796e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00248/0.002498, allocations: 2.529 MB / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003563, allocations: 0.7214 MB / 301.7 MB, free: 252 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003669, allocations: 8 kB / 301.7 MB, free: 244 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.153e-05/0.003761, allocations: 59.36 kB / 301.7 MB, free: 184 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.003904, allocations: 99 kB / 301.8 MB, free: 84 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1278/0.1317, allocations: 122.6 kB / 302 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.1324, allocations: 453.1 kB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.1327, allocations: 156.7 kB / 302.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.1332, allocations: 268.6 kB / 302.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1334, allocations: 145.4 kB / 303 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.039e-05/0.1335, allocations: 45.41 kB / 303 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.938e-05/0.1336, allocations: 45.16 kB / 303.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.1336, allocations: 99.22 kB / 303.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1338, allocations: 152.3 kB / 303.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.1344, allocations: 0.5062 MB / 303.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1344, allocations: 0 / 303.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1344, allocations: 3.844 kB / 303.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1344, allocations: 1.25 kB / 303.8 MB, free: 13.04 MB / 282.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.0008548/0.1352, allocations: 0.6101 MB / 304.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1353, allocations: 16.47 kB / 304.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.1354, allocations: 81.62 kB / 304.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.1354, allocations: 46.72 kB / 304.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1357, allocations: 223.5 kB / 304.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1357, allocations: 29.62 kB / 304.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.1357, allocations: 44.16 kB / 304.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.1363, allocations: 0.6221 MB / 305.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1363, allocations: 1.812 kB / 305.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.1364, allocations: 16.91 kB / 305.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1364, allocations: 13.97 kB / 305.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1367, allocations: 285.2 kB / 305.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.138, allocations: 1.159 MB / 306.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.1384, allocations: 216.8 kB / 307.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.1387, allocations: 176.9 kB / 307.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1387, allocations: 2.406 kB / 307.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1387, allocations: 39.09 kB / 307.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.1387, allocations: 0 / 307.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009395/0.1396, allocations: 474.9 kB / 307.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1397, allocations: 237.7 kB / 308.1 MB, free: 10.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1399, allocations: 212.4 kB / 308.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1399, allocations: 32.52 kB / 308.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.14, allocations: 204 kB / 308.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.14, allocations: 103.2 kB / 308.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.1401, allocations: 65.89 kB / 308.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.1401, allocations: 336.5 kB / 309 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1403, allocations: 77.28 kB / 309.1 MB, free: 9.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1404, allocations: 335.5 kB / 309.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.141, allocations: 375.1 kB / 309.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.141, allocations: 1.25 kB / 309.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002973/0.1413, allocations: 274.6 kB / 310 MB, free: 9.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1413, allocations: 5.906 kB / 310 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1413, allocations: 5.438 kB / 310 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1414, allocations: 5.594 kB / 310.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1415, allocations: 77.94 kB / 310.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1415, allocations: 5.969 kB / 310.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.1416, allocations: 40.14 kB / 310.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1417, allocations: 8.266 kB / 310.2 MB, free: 8.969 MB / 282.7 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.000205/0.1419, allocations: 152.5 kB / 310.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.1419, allocations: 32.61 kB / 310.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.1419, allocations: 37.61 kB / 310.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1419, allocations: 7.375 kB / 310.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1419, allocations: 2.766 kB / 310.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1419, allocations: 1.406 kB / 310.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.1427, allocations: 0.7015 MB / 311.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1427, allocations: 0 / 311.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.1428, allocations: 51.67 kB / 311.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.143, allocations: 86.7 kB / 311.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1431, allocations: 13.89 kB / 311.3 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.1442, allocations: 1.852 MB / 313.1 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1442, allocations: 1.156 kB / 313.1 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.1447, allocations: 0.5024 MB / 313.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.1447, allocations: 25.88 kB / 313.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1447, allocations: 7.562 kB / 313.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.1448, allocations: 11 kB / 313.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.1448, allocations: 25.19 kB / 313.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1448, allocations: 10.02 kB / 313.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.844e-05/0.1449, allocations: 151.5 kB / 313.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1449, allocations: 0 / 313.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.1452, allocations: 109.5 kB / 313.9 MB, free: 6.297 MB / 282.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.0006474/0.1458, allocations: 1.047 MB / 315 MB, free: 5.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1461, allocations: 195.2 kB / 315.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1461, allocations: 0 / 315.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.1464, allocations: 263.2 kB / 315.4 MB, free: 5.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.1467, allocations: 30.48 kB / 315.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.1489, allocations: 2.771 MB / 318.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.149, allocations: 187.6 kB / 318.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.1491, allocations: 21.5 kB / 318.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1492, allocations: 104.7 kB / 318.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1492, allocations: 0 / 318.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1703, allocations: 6.657 MB / 325.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.449, allocations: 13.2 kB / 325.2 MB, free: 0.5781 MB / 282.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9984e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/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] "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:time,C1.vinternal,C2.vinternal,L1.iinternal,L2.iinternal,L3.iinternal [Calling sys.exit(0), Time elapsed: 9.243834055960178]