Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001316/0.001316, allocations: 111.7 kB / 19.69 MB, free: 2.188 MB / 14.72 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.001531/0.001531, allocations: 214.8 kB / 23 MB, free: 5.004 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.426/1.426, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 75.89 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1131, allocations: 61.03 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008371/0.1214, allocations: 6.993 MB / 0.523 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1258, allocations: 2.213 MB / 0.5251 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.1263, allocations: 23.94 kB / 0.5252 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.1299, allocations: 1.536 MB / 0.5267 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.132, allocations: 0.7032 MB / 0.5273 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1336, allocations: 0.7202 MB / 0.528 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.1352, allocations: 1.186 MB / 0.5292 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.1364, allocations: 0.7725 MB / 0.53 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.137, allocations: 0.4942 MB / 0.5304 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.1377, allocations: 0.6185 MB / 0.531 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.1378, allocations: 96 kB / 0.5311 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.1385, allocations: 279.8 kB / 0.5314 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1387, allocations: 255 kB / 0.5316 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.1393, allocations: 0.5713 MB / 0.5322 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.1414, allocations: 1.478 MB / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1414, allocations: 0 / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1414, allocations: 0 / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1415, allocations: 0 / 0.5336 GB, free: 5.316 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004255/0.1457, allocations: 1.663 MB / 0.5353 GB, free: 3.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1458, allocations: 12.03 kB / 0.5353 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002291/0.146, allocations: 182.1 kB / 0.5355 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009987/0.156, allocations: 1.436 MB / 0.5369 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1571, allocations: 0.4914 MB / 0.5373 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.826e-05/0.1572, allocations: 94.48 kB / 0.5374 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.1574, allocations: 120 kB / 0.5375 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.1596, allocations: 1.189 MB / 0.5387 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.1596, allocations: 3.953 kB / 0.5387 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.206/0.3656, allocations: 50.23 kB / 0.5388 GB, free: 27.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.3656, allocations: 29.72 kB / 0.5388 GB, free: 27.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.3682, allocations: 1.43 MB / 0.5402 GB, free: 27.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.3749, allocations: 3.892 MB / 0.544 GB, free: 26.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3765, allocations: 0.8302 MB / 0.5448 GB, free: 25.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.377, allocations: 331.6 kB / 0.5451 GB, free: 25.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.615e-05/0.3771, allocations: 21.11 kB / 0.5451 GB, free: 25.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3771, allocations: 54.34 kB / 0.5452 GB, free: 25.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.525e-06/0.3771, allocations: 1.094 kB / 0.5452 GB, free: 25.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002067/0.3792, allocations: 1.048 MB / 0.5462 GB, free: 25.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3792, allocations: 64.47 kB / 0.5463 GB, free: 25.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.3802, allocations: 0.7958 MB / 0.547 GB, free: 24.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.3802, allocations: 44.98 kB / 0.5471 GB, free: 24.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.3804, allocations: 496.2 kB / 0.5476 GB, free: 24.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.3806, allocations: 327.1 kB / 0.5479 GB, free: 24.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.3809, allocations: 202.9 kB / 0.5481 GB, free: 24.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.381, allocations: 397.9 kB / 0.5484 GB, free: 23.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.3816, allocations: 346.3 kB / 0.5488 GB, free: 23.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.3822, allocations: 0.6045 MB / 0.5494 GB, free: 23.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.3835, allocations: 0.9723 MB / 0.5503 GB, free: 22.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3835, allocations: 2.594 kB / 0.5503 GB, free: 22.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002075/0.3856, allocations: 1.173 MB / 0.5515 GB, free: 21.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3856, allocations: 8.031 kB / 0.5515 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3856, allocations: 9.875 kB / 0.5515 GB, free: 21.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.3859, allocations: 66.72 kB / 0.5515 GB, free: 21.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/0.3869, allocations: 264.8 kB / 0.5518 GB, free: 21.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3884, allocations: 2.633 MB / 0.5544 GB, free: 19.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.3893, allocations: 149.4 kB / 0.5545 GB, free: 19.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.3894, allocations: 48 kB / 0.5546 GB, free: 19.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.3897, allocations: 254.6 kB / 0.5548 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3899, allocations: 96.12 kB / 0.5549 GB, free: 18.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.3916, allocations: 1.108 MB / 0.556 GB, free: 18.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3916, allocations: 9.094 kB / 0.556 GB, free: 18.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3916, allocations: 1.625 kB / 0.556 GB, free: 18.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.3916, allocations: 5.578 kB / 0.556 GB, free: 18.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.3951, allocations: 2.323 MB / 0.5583 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.3951, allocations: 7.812 kB / 0.5583 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/0.3958, allocations: 191.5 kB / 0.5584 GB, free: 17.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.396, allocations: 62.77 kB / 0.5585 GB, free: 17.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.3961, allocations: 26.81 kB / 0.5585 GB, free: 17.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.3974, allocations: 2.625 MB / 0.5611 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.3974, allocations: 10.5 kB / 0.5611 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.3994, allocations: 1.488 MB / 0.5626 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3996, allocations: 124.2 kB / 0.5627 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.3998, allocations: 24.53 kB / 0.5627 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.4004, allocations: 54.48 kB / 0.5627 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.4006, allocations: 79.47 kB / 0.5628 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.4006, allocations: 35.56 kB / 0.5629 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007291/0.4013, allocations: 0.5676 MB / 0.5634 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4013, allocations: 0 / 0.5634 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000985/0.4023, allocations: 303.6 kB / 0.5637 GB, free: 13.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002404/0.4047, allocations: 2.085 MB / 0.5657 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.4066, allocations: 1.051 MB / 0.5668 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4066, allocations: 0 / 0.5668 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008619/0.4075, allocations: 0.5954 MB / 0.5673 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008166/0.4083, allocations: 122.4 kB / 0.5675 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4191, allocations: 8.315 MB / 0.5756 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.4196, allocations: 0.9968 MB / 0.5766 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005926/0.4202, allocations: 149 kB / 0.5767 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.4206, allocations: 367.8 kB / 0.577 GB, free: 4.773 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4206, allocations: 1.25 kB / 0.577 GB, free: 4.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08076/0.5014, allocations: 20.04 MB / 0.5966 GB, free: 6.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.35, allocations: 11.94 kB / 0.5966 GB, free: 6.109 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable v.re in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.31465798499994]