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.001313/0.001313, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.001413/0.001413, allocations: 212.2 kB / 23.78 MB, free: 4.328 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2601/0.2601, allocations: 46.96 MB / 360.9 MB, free: 3.875 MB / 286.1 MB " [Timeout remaining time 179] 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.002315/0.002315, allocations: 79.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3591, allocations: 66.08 MB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008947/0.368, allocations: 6.58 MB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.3732, allocations: 2.221 MB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.3745, allocations: 27.94 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.3792, allocations: 1.621 MB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.3824, allocations: 0.6905 MB / 0.5716 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3844, allocations: 0.7119 MB / 0.5723 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.3867, allocations: 1.249 MB / 0.5736 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.3883, allocations: 0.8593 MB / 0.5744 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009608/0.3892, allocations: 0.5137 MB / 0.5749 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008697/0.3901, allocations: 0.5948 MB / 0.5755 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3903, allocations: 108 kB / 0.5756 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.3911, allocations: 287.8 kB / 0.5759 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.3914, allocations: 275 kB / 0.5761 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.392, allocations: 0.4937 MB / 0.5766 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.3943, allocations: 1.618 MB / 0.5782 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3943, allocations: 0 / 0.5782 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3943, allocations: 0 / 0.5782 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.3943, allocations: 3.938 kB / 0.5782 GB, free: 2.039 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.005204/0.3995, allocations: 1.761 MB / 0.5799 GB, free: 248 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.3996, allocations: 12.03 kB / 0.5799 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/0.3999, allocations: 190.7 kB / 0.5801 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009493/0.4094, allocations: 1.271 MB / 0.5813 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.4106, allocations: 0.5118 MB / 0.5818 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.4107, allocations: 100.1 kB / 0.5819 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.4109, allocations: 132 kB / 0.5821 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4134, allocations: 1.421 MB / 0.5834 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.4134, allocations: 11.95 kB / 0.5835 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.4135, allocations: 55.94 kB / 0.5835 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.4136, allocations: 32 kB / 0.5835 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.416, allocations: 1.443 MB / 0.5849 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007858/0.4238, allocations: 3.85 MB / 0.5887 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.4257, allocations: 0.8217 MB / 0.5895 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.4263, allocations: 336.1 kB / 0.5898 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.4264, allocations: 32.97 kB / 0.5899 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.4264, allocations: 39.56 kB / 0.5899 GB, free: 5.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.625e-06/0.4264, allocations: 0 / 0.5899 GB, free: 5.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002308/0.4287, allocations: 1.06 MB / 0.5909 GB, free: 4.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.4288, allocations: 60.41 kB / 0.591 GB, free: 4.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4298, allocations: 0.848 MB / 0.5918 GB, free: 3.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.485e-05/0.4299, allocations: 41.7 kB / 0.5919 GB, free: 3.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.4303, allocations: 0.5156 MB / 0.5924 GB, free: 3.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.4305, allocations: 317.3 kB / 0.5927 GB, free: 2.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.4309, allocations: 206.8 kB / 0.5929 GB, free: 2.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.4311, allocations: 402.7 kB / 0.5932 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.4317, allocations: 350.5 kB / 0.5936 GB, free: 1.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009625/0.4327, allocations: 0.6231 MB / 0.5942 GB, free: 1.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.4343, allocations: 0.9953 MB / 0.5952 GB, free: 88 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4343, allocations: 0 / 0.5952 GB, free: 88 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002485/0.4368, allocations: 1.19 MB / 0.5963 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.4368, allocations: 21.88 kB / 0.5963 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4368, allocations: 8 kB / 0.5964 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.4372, allocations: 61.69 kB / 0.5964 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4382, allocations: 263.6 kB / 0.5967 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.4408, allocations: 2.621 MB / 0.5992 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4419, allocations: 154.8 kB / 0.5994 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.442, allocations: 51.98 kB / 0.5994 GB, free: 11.47 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.0004481/0.4424, allocations: 261.7 kB / 0.5997 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.4426, allocations: 95.39 kB / 0.5998 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.4446, allocations: 1.107 MB / 0.6008 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4446, allocations: 12 kB / 0.6009 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4446, allocations: 0 / 0.6009 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4446, allocations: 3.984 kB / 0.6009 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.4485, allocations: 2.22 MB / 0.603 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4485, allocations: 8.156 kB / 0.603 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.4493, allocations: 187.7 kB / 0.6032 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.4496, allocations: 65.61 kB / 0.6033 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.4496, allocations: 31.97 kB / 0.6033 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.4518, allocations: 2.606 MB / 0.6059 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.4519, allocations: 11.94 kB / 0.6059 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4543, allocations: 1.486 MB / 0.6073 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.4546, allocations: 123.2 kB / 0.6074 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4547, allocations: 27.98 kB / 0.6075 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.4554, allocations: 48.05 kB / 0.6075 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.4555, allocations: 92.33 kB / 0.6076 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.4556, allocations: 28 kB / 0.6076 GB, free: 2.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009345/0.4565, allocations: 0.5849 MB / 0.6082 GB, free: 1.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4565, allocations: 0 / 0.6082 GB, free: 1.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001055/0.4576, allocations: 315.5 kB / 0.6085 GB, free: 1.684 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.002995/0.4606, allocations: 2.084 MB / 0.6105 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.4626, allocations: 1.043 MB / 0.6115 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.4626, allocations: 0.6875 kB / 0.6115 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.4637, allocations: 0.6037 MB / 0.6121 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.4646, allocations: 137.9 kB / 0.6123 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.4794, allocations: 8.471 MB / 0.6205 GB, free: 4.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.48, allocations: 428.3 kB / 0.6209 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006635/0.4807, allocations: 151.8 kB / 0.6211 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.4814, allocations: 391.3 kB / 0.6215 GB, free: 3.695 MB / 462.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4814, allocations: 0 / 0.6215 GB, free: 3.695 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06548/0.5469, allocations: 21.24 MB / 0.6422 GB, free: 14.65 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.89, allocations: 15.84 kB / 0.6422 GB, free: 14.64 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: 16.032452219631523]