Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001754/0.001754, allocations: 124 kB / 17.79 MB, free: 5.266 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.001854/0.001854, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 59.84 kB / 365.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1095, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00414/0.1136, allocations: 2.853 MB / 420.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1148, allocations: 0.7127 MB / 421.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1149, allocations: 4 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.115, allocations: 67.36 kB / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1152, allocations: 99.05 kB / 421.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1156, allocations: 119.8 kB / 421.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.1161, allocations: 450.7 kB / 422.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.1164, allocations: 168.9 kB / 422.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1166, allocations: 183.4 kB / 422.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.1169, allocations: 211.1 kB / 422.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.731e-05/0.117, allocations: 44 kB / 422.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.1171, allocations: 48 kB / 422.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.1171, allocations: 95.73 kB / 422.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.1174, allocations: 215 kB / 423 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.1179, allocations: 0.498 MB / 423.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1179, allocations: 0 / 423.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1179, allocations: 4 kB / 423.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1179, allocations: 0 / 423.5 MB, free: 6.895 MB / 350.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.001206/0.1191, allocations: 0.7055 MB / 424.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1192, allocations: 8.031 kB / 424.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.1193, allocations: 74.72 kB / 424.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.1194, allocations: 52.59 kB / 424.3 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.1197, allocations: 277.2 kB / 424.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.1198, allocations: 33.38 kB / 424.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.1199, allocations: 44.38 kB / 424.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/0.1206, allocations: 451.4 kB / 425.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1206, allocations: 0 / 425.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.1207, allocations: 24 kB / 425.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1207, allocations: 19.88 kB / 425.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1212, allocations: 279.9 kB / 425.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.1231, allocations: 1.311 MB / 426.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.1236, allocations: 210.7 kB / 427 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.124, allocations: 185.9 kB / 427.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.124, allocations: 8 kB / 427.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.124, allocations: 38.55 kB / 427.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.124, allocations: 0 / 427.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00141/0.1254, allocations: 0.542 MB / 427.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.1256, allocations: 239.3 kB / 428 MB, free: 2.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1258, allocations: 211 kB / 428.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1258, allocations: 33.7 kB / 428.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.126, allocations: 200.6 kB / 428.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.816e-05/0.1261, allocations: 107.1 kB / 428.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1262, allocations: 65.69 kB / 428.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1263, allocations: 334.8 kB / 428.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1265, allocations: 75.91 kB / 429 MB, free: 1.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1267, allocations: 164.7 kB / 429.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.1271, allocations: 199.3 kB / 429.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1271, allocations: 4 kB / 429.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005262/0.1276, allocations: 281 kB / 429.6 MB, free: 400 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1276, allocations: 7.938 kB / 429.6 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1276, allocations: 4 kB / 429.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1276, allocations: 0 / 429.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.128, allocations: 83.89 kB / 429.7 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.128, allocations: 0 / 429.7 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1282, allocations: 35.77 kB / 429.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1282, allocations: 12.06 kB / 429.7 MB, free: 256 kB / 350.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.0001602/0.1283, allocations: 149.8 kB / 429.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.1284, allocations: 27.8 kB / 429.9 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.1285, allocations: 34.64 kB / 430 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1285, allocations: 4 kB / 430 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1285, allocations: 3.938 kB / 430 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1285, allocations: 0 / 430 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1296, allocations: 0.7711 MB / 430.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1296, allocations: 0 / 430.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.1299, allocations: 51.91 kB / 430.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.1302, allocations: 84.8 kB / 430.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1302, allocations: 11.98 kB / 430.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.1325, allocations: 1.977 MB / 432.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1325, allocations: 4.141 kB / 432.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.1333, allocations: 0.4895 MB / 433.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.1334, allocations: 104.9 kB / 433.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.1334, allocations: 8.125 kB / 433.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1335, allocations: 12 kB / 433.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.1336, allocations: 23.97 kB / 433.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1336, allocations: 11.92 kB / 433.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1338, allocations: 156.4 kB / 433.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1338, allocations: 0 / 433.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1342, allocations: 111.7 kB / 433.8 MB, free: 11.97 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.001218/0.1354, allocations: 1.044 MB / 434.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.1358, allocations: 199.8 kB / 435 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1358, allocations: 8.125 kB / 435 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.1362, allocations: 254.5 kB / 435.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1366, allocations: 38.39 kB / 435.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.1404, allocations: 2.899 MB / 438.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.1408, allocations: 0.787 MB / 439 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.1409, allocations: 25.94 kB / 439 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1411, allocations: 103.4 kB / 439.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1411, allocations: 3.938 kB / 439.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.1761, allocations: 6.03 MB / 445.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.47, allocations: 19.8 kB / 445.2 MB, free: 0.5273 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.373051795642823]