Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001679/0.001679, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002024/0.002024, allocations: 202.2 kB / 23.72 MB, free: 4.391 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 83.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.322, allocations: 66.09 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009037/0.3311, allocations: 6.573 MB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004627/0.3357, allocations: 2.221 MB / 0.5693 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.3362, allocations: 27.94 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.3401, allocations: 1.621 MB / 0.5709 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.3421, allocations: 0.6984 MB / 0.5716 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3438, allocations: 0.7117 MB / 0.5723 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.3453, allocations: 1.249 MB / 0.5735 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.3466, allocations: 0.8555 MB / 0.5743 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.3473, allocations: 0.5253 MB / 0.5748 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007477/0.3481, allocations: 0.5872 MB / 0.5754 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.3482, allocations: 104 kB / 0.5755 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.349, allocations: 291.8 kB / 0.5758 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.3492, allocations: 278.9 kB / 0.5761 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.3497, allocations: 497.6 kB / 0.5765 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.3516, allocations: 1.626 MB / 0.5781 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3516, allocations: 0 / 0.5781 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3516, allocations: 0 / 0.5781 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3516, allocations: 4 kB / 0.5781 GB, free: 2.086 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004284/0.3559, allocations: 1.754 MB / 0.5798 GB, free: 304 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3559, allocations: 8.031 kB / 0.5798 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.3562, allocations: 194.7 kB / 0.58 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009424/0.3656, allocations: 1.272 MB / 0.5813 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.3669, allocations: 0.5079 MB / 0.5818 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/0.367, allocations: 99.03 kB / 0.5819 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.3672, allocations: 139.8 kB / 0.582 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.3697, allocations: 1.425 MB / 0.5834 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.3697, allocations: 0 / 0.5834 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.3698, allocations: 56 kB / 0.5834 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.3699, allocations: 32 kB / 0.5835 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.3725, allocations: 1.439 MB / 0.5849 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00815/0.3806, allocations: 3.858 MB / 0.5886 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.3826, allocations: 0.8177 MB / 0.5894 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.3832, allocations: 336.2 kB / 0.5898 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3833, allocations: 32.97 kB / 0.5898 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.3833, allocations: 43.55 kB / 0.5898 GB, free: 5.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.3833, allocations: 0 / 0.5898 GB, free: 5.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002366/0.3857, allocations: 1.06 MB / 0.5909 GB, free: 4.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3858, allocations: 60.41 kB / 0.5909 GB, free: 4.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3869, allocations: 0.8519 MB / 0.5918 GB, free: 3.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.387, allocations: 41.7 kB / 0.5918 GB, free: 3.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.3874, allocations: 0.5117 MB / 0.5923 GB, free: 3.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.3877, allocations: 325.3 kB / 0.5926 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.388, allocations: 202.8 kB / 0.5928 GB, free: 2.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.3883, allocations: 398.7 kB / 0.5932 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.3889, allocations: 350.4 kB / 0.5935 GB, free: 1.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009806/0.3899, allocations: 0.6231 MB / 0.5941 GB, free: 1.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.3915, allocations: 0.9914 MB / 0.5951 GB, free: 148 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3915, allocations: 4 kB / 0.5951 GB, free: 144 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00224/0.3937, allocations: 1.194 MB / 0.5963 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3938, allocations: 13.97 kB / 0.5963 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.3938, allocations: 8 kB / 0.5963 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.3941, allocations: 70.14 kB / 0.5964 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.3951, allocations: 263.6 kB / 0.5966 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.3975, allocations: 2.617 MB / 0.5992 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.3984, allocations: 154.8 kB / 0.5993 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.3985, allocations: 51.98 kB / 0.5994 GB, free: 11.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0004218/0.3989, allocations: 265.4 kB / 0.5996 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.3991, allocations: 99.33 kB / 0.5997 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.401, allocations: 1.099 MB / 0.6008 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.401, allocations: 11.94 kB / 0.6008 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.401, allocations: 11.98 kB / 0.6008 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4011, allocations: 3.984 kB / 0.6008 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.4049, allocations: 2.22 MB / 0.603 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4049, allocations: 8 kB / 0.603 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.4056, allocations: 179.8 kB / 0.6032 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.4059, allocations: 62.17 kB / 0.6032 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.4059, allocations: 35.98 kB / 0.6032 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.4081, allocations: 2.607 MB / 0.6058 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.4081, allocations: 7.938 kB / 0.6058 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.4105, allocations: 1.485 MB / 0.6073 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4107, allocations: 123.3 kB / 0.6074 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4109, allocations: 31.98 kB / 0.6074 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.4115, allocations: 55.91 kB / 0.6075 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4117, allocations: 84.34 kB / 0.6075 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.4117, allocations: 35.98 kB / 0.6076 GB, free: 2.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000816/0.4125, allocations: 0.5771 MB / 0.6081 GB, free: 2.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4125, allocations: 0 / 0.6081 GB, free: 2.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009853/0.4135, allocations: 311.6 kB / 0.6084 GB, free: 1.734 MB / 446.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 (93): * Single equations (assignments): 91 * 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.002975/0.4165, allocations: 2.091 MB / 0.6105 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.4186, allocations: 1.047 MB / 0.6115 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.4186, allocations: 3.938 kB / 0.6115 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4196, allocations: 0.601 MB / 0.6121 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.4205, allocations: 122 kB / 0.6122 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.4338, allocations: 8.475 MB / 0.6205 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.4343, allocations: 424.3 kB / 0.6209 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005899/0.4349, allocations: 159.7 kB / 0.621 GB, free: 4.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.4354, allocations: 387.3 kB / 0.6214 GB, free: 3.75 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4354, allocations: 0 / 0.6214 GB, free: 3.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/0.4979, allocations: 21.14 MB / 0.642 GB, free: 14.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.75, allocations: 15.98 kB / 0.6421 GB, free: 14.78 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.8037218907848]