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.001797/0.001797, allocations: 79.69 kB / 20.02 MB, free: 4.504 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.0009766/0.0009766, allocations: 170.3 kB / 23.32 MB, free: 1.203 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.9545/0.9545, allocations: 158.6 MB / 185.1 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] 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.1337/0.1337, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.255e-05, allocations: 2.281 kB / 407.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005819/0.005841, allocations: 6.11 MB / 413.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.01055, allocations: 2.089 MB / 415.3 MB, free: 9.887 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.01141, allocations: 23.94 kB / 415.3 MB, free: 9.863 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.01361, allocations: 1.497 MB / 416.8 MB, free: 8.359 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.01531, allocations: 0.7028 MB / 417.5 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.01628, allocations: 0.6853 MB / 418.2 MB, free: 6.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.01744, allocations: 1.236 MB / 419.4 MB, free: 5.723 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.01861, allocations: 0.7608 MB / 420.2 MB, free: 4.938 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.01975, allocations: 0.6975 MB / 420.9 MB, free: 4.238 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.02023, allocations: 486.6 kB / 421.3 MB, free: 3.762 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.02035, allocations: 99.94 kB / 421.4 MB, free: 3.664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.02086, allocations: 271.7 kB / 421.7 MB, free: 3.398 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.02098, allocations: 258.9 kB / 422 MB, free: 3.145 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.02125, allocations: 394.9 kB / 422.3 MB, free: 2.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.02295, allocations: 1.491 MB / 423.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02296, allocations: 0 / 423.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.02296, allocations: 4 kB / 423.8 MB, free: 1.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.02298, allocations: 0 / 423.8 MB, free: 1.258 MB / 394.7 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.002772/0.02575, allocations: 1.644 MB / 425.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.0258, allocations: 12.03 kB / 425.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.02595, allocations: 186.1 kB / 425.7 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008358/0.03431, allocations: 1.432 MB / 427.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.03581, allocations: 0.4914 MB / 427.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/0.0359, allocations: 94.47 kB / 427.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.03616, allocations: 128 kB / 427.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.03849, allocations: 1.357 MB / 429.2 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.03853, allocations: 4 kB / 429.2 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.03865, allocations: 52 kB / 429.2 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.03868, allocations: 32 kB / 429.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.04098, allocations: 1.419 MB / 430.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.04536, allocations: 3.613 MB / 434.3 MB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.0466, allocations: 0.8273 MB / 435.1 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.04709, allocations: 339.7 kB / 435.4 MB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-05/0.04716, allocations: 24.98 kB / 435.5 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.0472, allocations: 39.56 kB / 435.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.156e-06/0.0472, allocations: 0 / 435.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.001861/0.04906, allocations: 1.052 MB / 436.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.0491, allocations: 60.41 kB / 436.6 MB, free: 4.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.05034, allocations: 0.8244 MB / 437.4 MB, free: 3.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.0504, allocations: 41.7 kB / 437.5 MB, free: 3.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.05073, allocations: 488.1 kB / 438 MB, free: 2.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.05093, allocations: 329.2 kB / 438.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.05114, allocations: 198.8 kB / 438.5 MB, free: 2.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.05127, allocations: 394.7 kB / 438.9 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.05169, allocations: 342.5 kB / 439.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.05229, allocations: 0.6102 MB / 439.8 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.05329, allocations: 0.9788 MB / 440.8 MB, free: 15.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.05329, allocations: 4 kB / 440.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001314/0.05461, allocations: 1.171 MB / 442 MB, free: 14.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.05463, allocations: 8 kB / 442 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.05464, allocations: 8 kB / 442 MB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.05484, allocations: 69.67 kB / 442 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.05538, allocations: 267.6 kB / 442.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.05719, allocations: 2.606 MB / 444.9 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.05776, allocations: 150.8 kB / 445.1 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.05781, allocations: 47.98 kB / 445.1 MB, free: 11.19 MB / 426.7 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.000375/0.05819, allocations: 253.6 kB / 445.4 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.0583, allocations: 107.3 kB / 445.5 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.05956, allocations: 1.103 MB / 446.6 MB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.05957, allocations: 8 kB / 446.6 MB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.05958, allocations: 4 kB / 446.6 MB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.05958, allocations: 3.984 kB / 446.6 MB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.06205, allocations: 2.158 MB / 448.7 MB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.06206, allocations: 4 kB / 448.7 MB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.06246, allocations: 179.7 kB / 448.9 MB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.06263, allocations: 69.61 kB / 449 MB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.06267, allocations: 27.98 kB / 449 MB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.0643, allocations: 2.598 MB / 451.6 MB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.0643, allocations: 8 kB / 451.6 MB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.06581, allocations: 1.474 MB / 453.1 MB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.06601, allocations: 131.1 kB / 453.2 MB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.06609, allocations: 24 kB / 453.2 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.06641, allocations: 63.97 kB / 453.3 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.06652, allocations: 76.41 kB / 453.4 MB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.06656, allocations: 36 kB / 453.4 MB, free: 2.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005246/0.06708, allocations: 0.5615 MB / 454 MB, free: 1.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06708, allocations: 0 / 454 MB, free: 1.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.06793, allocations: 291.7 kB / 454.3 MB, free: 1.527 MB / 426.7 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.001919/0.06985, allocations: 2.088 MB / 456.3 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.07127, allocations: 1.048 MB / 457.4 MB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.07127, allocations: 0 / 457.4 MB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.07208, allocations: 0.6 MB / 458 MB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.07272, allocations: 118.9 kB / 458.1 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/0.08162, allocations: 8.32 MB / 466.4 MB, free: 4.691 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.0819, allocations: 407.2 kB / 466.8 MB, free: 4.262 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003908/0.08229, allocations: 155.6 kB / 467 MB, free: 4.105 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.08263, allocations: 364.4 kB / 467.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/0.08264, allocations: 4 kB / 467.3 MB, free: 3.746 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/0.2919, allocations: 20.49 MB / 487.8 MB, free: 96.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.872, allocations: 11.98 kB / 487.8 MB, free: 96.69 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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: 10.100216627120972]