Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001401/0.001401, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001583/0.001583, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.91 MB / 359.6 MB, free: 6.316 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002012/0.002012, allocations: 71.91 kB / 0.4939 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 65.47 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008856/0.3319, allocations: 7.008 MB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.3366, allocations: 2.284 MB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.3375, allocations: 23.94 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.3413, allocations: 1.54 MB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.3433, allocations: 0.6834 MB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3451, allocations: 0.7199 MB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.3468, allocations: 1.152 MB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.348, allocations: 0.7685 MB / 0.5716 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.3488, allocations: 490.1 kB / 0.5721 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007879/0.3496, allocations: 0.6029 MB / 0.5727 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.3498, allocations: 96 kB / 0.5728 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.3505, allocations: 287.8 kB / 0.5731 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.3507, allocations: 251.1 kB / 0.5733 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.3513, allocations: 0.5519 MB / 0.5738 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.3534, allocations: 1.467 MB / 0.5753 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3534, allocations: 0 / 0.5753 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3534, allocations: 0 / 0.5753 GB, free: 5.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.3535, allocations: 0 / 0.5753 GB, free: 5.816 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004258/0.3577, allocations: 1.644 MB / 0.5769 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3578, allocations: 12.03 kB / 0.5769 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.083e-05/0.3578, allocations: 30.59 kB / 0.5769 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.358, allocations: 181.8 kB / 0.5771 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/0.3671, allocations: 1.257 MB / 0.5783 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3682, allocations: 495.6 kB / 0.5788 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.3682, allocations: 90.41 kB / 0.5789 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.3685, allocations: 123.9 kB / 0.579 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.3706, allocations: 1.149 MB / 0.5801 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.3707, allocations: 8 kB / 0.5801 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.3708, allocations: 48 kB / 0.5802 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.3708, allocations: 32 kB / 0.5802 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.3732, allocations: 1.38 MB / 0.5815 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00722/0.3804, allocations: 3.857 MB / 0.5853 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3822, allocations: 0.8063 MB / 0.5861 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.3828, allocations: 326.6 kB / 0.5864 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3829, allocations: 44.92 kB / 0.5865 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.3829, allocations: 51.5 kB / 0.5865 GB, free: 10.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.3829, allocations: 0 / 0.5865 GB, free: 10.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002289/0.3852, allocations: 1.04 MB / 0.5875 GB, free: 9.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3853, allocations: 64.41 kB / 0.5876 GB, free: 8.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3863, allocations: 0.7855 MB / 0.5883 GB, free: 8.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.3864, allocations: 41.7 kB / 0.5884 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.3868, allocations: 472.2 kB / 0.5888 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.387, allocations: 317.3 kB / 0.5891 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.3874, allocations: 194.8 kB / 0.5893 GB, free: 7.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3876, allocations: 398.7 kB / 0.5897 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.3883, allocations: 342.5 kB / 0.59 GB, free: 6.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008898/0.3892, allocations: 0.5699 MB / 0.5906 GB, free: 5.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.3907, allocations: 0.9309 MB / 0.5915 GB, free: 4.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3907, allocations: 4 kB / 0.5915 GB, free: 4.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002228/0.3929, allocations: 1.143 MB / 0.5926 GB, free: 3.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.393, allocations: 8 kB / 0.5926 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.393, allocations: 4 kB / 0.5926 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/0.3933, allocations: 65.67 kB / 0.5927 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3943, allocations: 251.6 kB / 0.5929 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.3968, allocations: 2.621 MB / 0.5955 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3979, allocations: 146.8 kB / 0.5956 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.398, allocations: 43.98 kB / 0.5957 GB, free: 200 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0005397/0.3985, allocations: 241.7 kB / 0.5959 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.3987, allocations: 99.38 kB / 0.596 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.4009, allocations: 1.091 MB / 0.5971 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.401, allocations: 15.94 kB / 0.5971 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.401, allocations: 0 / 0.5971 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.401, allocations: 3.984 kB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.4054, allocations: 2.349 MB / 0.5994 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.4054, allocations: 7.984 kB / 0.5994 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/0.4062, allocations: 183.7 kB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.4064, allocations: 61.67 kB / 0.5996 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/0.4065, allocations: 28 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.4089, allocations: 2.617 MB / 0.6022 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.409, allocations: 11.98 kB / 0.6022 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.4115, allocations: 1.47 MB / 0.6036 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.4118, allocations: 123.2 kB / 0.6038 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.412, allocations: 20 kB / 0.6038 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.4127, allocations: 56.03 kB / 0.6038 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4129, allocations: 84.28 kB / 0.6039 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.4129, allocations: 39.98 kB / 0.604 GB, free: 7.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008852/0.4138, allocations: 0.5537 MB / 0.6045 GB, free: 6.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4138, allocations: 0 / 0.6045 GB, free: 6.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001126/0.415, allocations: 291.6 kB / 0.6048 GB, free: 6.367 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 (92): * Single equations (assignments): 90 * 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.002984/0.4179, allocations: 2.088 MB / 0.6068 GB, free: 4.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.42, allocations: 1.022 MB / 0.6078 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.42, allocations: 0 / 0.6078 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.421, allocations: 0.5974 MB / 0.6084 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.4219, allocations: 122.9 kB / 0.6085 GB, free: 2.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.4348, allocations: 8.08 MB / 0.6164 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.4355, allocations: 0.9883 MB / 0.6174 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005452/0.4361, allocations: 151.4 kB / 0.6175 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.4366, allocations: 363.2 kB / 0.6179 GB, free: 8.297 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4366, allocations: 0 / 0.6179 GB, free: 8.297 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05579/0.4924, allocations: 19.9 MB / 0.6373 GB, free: 4.594 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.94, allocations: 6.812 kB / 0.6373 GB, free: 4.59 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.4447419809876]