Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 63.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1105, allocations: 53.38 MB / 426.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004238/0.1148, allocations: 2.855 MB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1163, allocations: 0.7711 MB / 430 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1165, allocations: 8 kB / 430 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.1167, allocations: 63.36 kB / 430 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1169, allocations: 91.11 kB / 430.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.1174, allocations: 131.7 kB / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.1179, allocations: 446.8 kB / 430.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.1183, allocations: 168.9 kB / 430.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1186, allocations: 187.4 kB / 431.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.1189, allocations: 207.1 kB / 431.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.119, allocations: 47.94 kB / 431.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1191, allocations: 55.94 kB / 431.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.1192, allocations: 99.67 kB / 431.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.1196, allocations: 219 kB / 431.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.1202, allocations: 0.5018 MB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1202, allocations: 0 / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1202, allocations: 0 / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1202, allocations: 8 kB / 432.2 MB, free: 14.79 MB / 366.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.001246/0.1215, allocations: 0.6938 MB / 432.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.1215, allocations: 12.03 kB / 432.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.77e-05/0.1216, allocations: 78.72 kB / 433 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.1219, allocations: 60.64 kB / 433 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1222, allocations: 284.4 kB / 433.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.1223, allocations: 29.38 kB / 433.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.1223, allocations: 44.33 kB / 433.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000767/0.1231, allocations: 463.4 kB / 433.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1231, allocations: 0 / 433.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.1232, allocations: 20 kB / 433.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1232, allocations: 8 kB / 433.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.1237, allocations: 283.9 kB / 434.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.1258, allocations: 1.299 MB / 435.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.1262, allocations: 222.7 kB / 435.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.1266, allocations: 172.8 kB / 435.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1266, allocations: 4.484 kB / 435.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1267, allocations: 42.5 kB / 435.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.1267, allocations: 0 / 435.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001469/0.1281, allocations: 0.542 MB / 436.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.1283, allocations: 239.3 kB / 436.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1285, allocations: 214.8 kB / 436.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1286, allocations: 29.7 kB / 436.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1287, allocations: 208.6 kB / 437.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.1288, allocations: 103.1 kB / 437.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1289, allocations: 61.69 kB / 437.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1291, allocations: 342.8 kB / 437.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1293, allocations: 71.97 kB / 437.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.1295, allocations: 152.5 kB / 437.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.1299, allocations: 203.3 kB / 438 MB, free: 8.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1299, allocations: 0 / 438 MB, free: 8.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000515/0.1304, allocations: 277.1 kB / 438.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1304, allocations: 7.938 kB / 438.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1304, allocations: 0 / 438.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1304, allocations: 4 kB / 438.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.1308, allocations: 83.95 kB / 438.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1308, allocations: 0 / 438.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.131, allocations: 39.72 kB / 438.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.131, allocations: 8 kB / 438.4 MB, free: 8.156 MB / 366.1 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.0001963/0.1312, allocations: 153.8 kB / 438.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.1313, allocations: 31.78 kB / 438.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/0.1314, allocations: 34.64 kB / 438.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1314, allocations: 4 kB / 438.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1314, allocations: 0 / 438.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1314, allocations: 4 kB / 438.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.1326, allocations: 0.7711 MB / 439.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1326, allocations: 4 kB / 439.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.1328, allocations: 47.91 kB / 439.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003498/0.1332, allocations: 92.83 kB / 439.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1332, allocations: 8 kB / 439.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.1355, allocations: 1.973 MB / 441.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1355, allocations: 0 / 441.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/0.1364, allocations: 0.4935 MB / 442 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.1365, allocations: 109 kB / 442.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.1365, allocations: 8 kB / 442.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1367, allocations: 8 kB / 442.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.1368, allocations: 27.95 kB / 442.2 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1368, allocations: 7.938 kB / 442.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1369, allocations: 148.6 kB / 442.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1369, allocations: 4 kB / 442.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1374, allocations: 107.7 kB / 442.4 MB, free: 3.879 MB / 366.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.001199/0.1386, allocations: 1.044 MB / 443.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.139, allocations: 200 kB / 443.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.139, allocations: 0 / 443.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.1395, allocations: 262.5 kB / 443.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.14, allocations: 32.11 kB / 443.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1943/0.3342, allocations: 2.904 MB / 446.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3345, allocations: 0.7863 MB / 447.6 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.3347, allocations: 25.12 kB / 447.7 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3348, allocations: 102.4 kB / 447.8 MB, free: 22.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3348, allocations: 0 / 447.8 MB, free: 22.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.3718, allocations: 6.029 MB / 453.8 MB, free: 21.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.68, allocations: 5.531 kB / 453.8 MB, free: 21.93 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.457270637038164]