Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001597/0.001597, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001913/0.001913, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 55.91 kB / 0.4969 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3382, allocations: 66.03 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01016/0.3483, allocations: 7.802 MB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005849/0.3542, allocations: 2.454 MB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3555, allocations: 27.94 kB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00445/0.3599, allocations: 1.824 MB / 0.5732 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.3622, allocations: 0.7139 MB / 0.5739 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.3646, allocations: 1.085 MB / 0.575 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.3665, allocations: 1.425 MB / 0.5764 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.3679, allocations: 0.9262 MB / 0.5773 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007829/0.3687, allocations: 0.6267 MB / 0.5779 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008403/0.3696, allocations: 0.7236 MB / 0.5786 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.3697, allocations: 116 kB / 0.5787 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000748/0.3705, allocations: 331.8 kB / 0.579 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.3707, allocations: 298.9 kB / 0.5793 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.3714, allocations: 0.653 MB / 0.58 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.3736, allocations: 1.774 MB / 0.5817 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3736, allocations: 0 / 0.5817 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3736, allocations: 4 kB / 0.5817 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.3737, allocations: 3.938 kB / 0.5817 GB, free: 15.6 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007961/0.3816, allocations: 2.338 MB / 0.584 GB, free: 13.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3817, allocations: 12.03 kB / 0.584 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.734e-05/0.3817, allocations: 34.83 kB / 0.584 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/0.382, allocations: 198.7 kB / 0.5842 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009998/0.392, allocations: 1.327 MB / 0.5855 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.3938, allocations: 0.5567 MB / 0.5861 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.394, allocations: 103 kB / 0.5862 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.3943, allocations: 131.9 kB / 0.5863 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.3972, allocations: 1.487 MB / 0.5877 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.3973, allocations: 15.94 kB / 0.5878 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.3974, allocations: 52 kB / 0.5878 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.3975, allocations: 36 kB / 0.5878 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.4004, allocations: 1.517 MB / 0.5893 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008746/0.4091, allocations: 5.057 MB / 0.5943 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.4113, allocations: 1.072 MB / 0.5953 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4123, allocations: 0.5499 MB / 0.5958 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.4125, allocations: 48.94 kB / 0.5959 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.4125, allocations: 43.56 kB / 0.5959 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.03e-06/0.4125, allocations: 4 kB / 0.5959 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00989/0.4224, allocations: 2.998 MB / 0.5989 GB, free: 13.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.4225, allocations: 98.09 kB / 0.599 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.4232, allocations: 461.9 kB / 0.5994 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/0.4233, allocations: 45.7 kB / 0.5994 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.4237, allocations: 480.9 kB / 0.5999 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.4241, allocations: 444.1 kB / 0.6003 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.4244, allocations: 218.8 kB / 0.6005 GB, free: 11.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4246, allocations: 382.8 kB / 0.6009 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009651/0.4256, allocations: 458.4 kB / 0.6013 GB, free: 11.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4267, allocations: 0.7036 MB / 0.602 GB, free: 10.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.4288, allocations: 1.209 MB / 0.6032 GB, free: 8.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4288, allocations: 0 / 0.6032 GB, free: 8.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003219/0.432, allocations: 1.578 MB / 0.6047 GB, free: 7.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.4321, allocations: 8 kB / 0.6047 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.4321, allocations: 8 kB / 0.6048 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.4338, allocations: 0.532 MB / 0.6053 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.4346, allocations: 199.7 kB / 0.6055 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002127/0.4348, allocations: 53.14 kB / 0.6055 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.4357, allocations: 123.1 kB / 0.6056 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4358, allocations: 56 kB / 0.6057 GB, free: 6.422 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006067/0.4364, allocations: 269.5 kB / 0.6059 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.4366, allocations: 83.48 kB / 0.606 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.4397, allocations: 1.544 MB / 0.6075 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.4397, allocations: 15.98 kB / 0.6075 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4398, allocations: 0 / 0.6075 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4398, allocations: 7.984 kB / 0.6076 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.4448, allocations: 2.812 MB / 0.6103 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4448, allocations: 0 / 0.6103 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.4455, allocations: 151.8 kB / 0.6104 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.447, allocations: 0.5184 MB / 0.6109 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.4471, allocations: 35.92 kB / 0.611 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003163/0.4474, allocations: 64.73 kB / 0.611 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4474, allocations: 0 / 0.611 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/0.4516, allocations: 2.325 MB / 0.6133 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.452, allocations: 207.1 kB / 0.6135 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4522, allocations: 31.92 kB / 0.6135 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/0.4528, allocations: 40.05 kB / 0.6136 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.453, allocations: 89.09 kB / 0.6137 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/0.4531, allocations: 35.98 kB / 0.6137 GB, free: 14.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.4535, allocations: 310.9 kB / 0.614 GB, free: 13.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4535, allocations: 0 / 0.614 GB, free: 13.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009822/0.4545, allocations: 351.2 kB / 0.6143 GB, free: 13.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004755/0.4592, allocations: 2.922 MB / 0.6172 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.4625, allocations: 1.276 MB / 0.6184 GB, free: 9.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4625, allocations: 1.312 kB / 0.6184 GB, free: 9.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.4643, allocations: 0.6839 MB / 0.6191 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.4651, allocations: 105.8 kB / 0.6192 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.4802, allocations: 8.393 MB / 0.6274 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.481, allocations: 1.04 MB / 0.6284 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005107/0.4815, allocations: 110.8 kB / 0.6285 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.4821, allocations: 391.3 kB / 0.6289 GB, free: 14.19 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4821, allocations: 0 / 0.6289 GB, free: 14.19 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05662/0.5387, allocations: 23.3 MB / 0.6516 GB, free: 7.098 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/14.88, allocations: 4.062 kB / 0.6517 GB, free: 7.094 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 18.758366808993742]