Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001219/0.001219, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001336/0.001336, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.43/1.43, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2342/0.2342, allocations: 46.96 MB / 361.6 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.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 75.89 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.329, allocations: 66.08 MB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008638/0.3376, allocations: 6.803 MB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.343, allocations: 2.291 MB / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.3436, allocations: 27.94 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003894/0.3475, allocations: 1.686 MB / 0.572 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.3492, allocations: 0.6997 MB / 0.5727 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.3514, allocations: 1.035 MB / 0.5737 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.3531, allocations: 1.422 MB / 0.5751 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.3545, allocations: 0.9339 MB / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007803/0.3552, allocations: 0.6229 MB / 0.5766 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008241/0.3561, allocations: 0.7237 MB / 0.5773 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.3562, allocations: 115.9 kB / 0.5774 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.357, allocations: 331.8 kB / 0.5777 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.3572, allocations: 298.8 kB / 0.578 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.3577, allocations: 0.5366 MB / 0.5785 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.3598, allocations: 1.786 MB / 0.5803 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3598, allocations: 3.984 kB / 0.5803 GB, free: 0.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3598, allocations: 0 / 0.5803 GB, free: 0.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.3598, allocations: 0 / 0.5803 GB, free: 0.668 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007419/0.3672, allocations: 2.334 MB / 0.5826 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3673, allocations: 12.03 kB / 0.5826 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.324e-05/0.3673, allocations: 34.83 kB / 0.5826 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/0.3675, allocations: 194.7 kB / 0.5828 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009565/0.3771, allocations: 1.339 MB / 0.5841 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3784, allocations: 0.5567 MB / 0.5846 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.3785, allocations: 99.02 kB / 0.5847 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.3787, allocations: 131.9 kB / 0.5849 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.3814, allocations: 1.591 MB / 0.5864 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.3815, allocations: 7.953 kB / 0.5864 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.3816, allocations: 55.94 kB / 0.5865 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.3816, allocations: 36 kB / 0.5865 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.3843, allocations: 1.521 MB / 0.588 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007746/0.3921, allocations: 4.446 MB / 0.5923 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.394, allocations: 1.08 MB / 0.5934 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/0.395, allocations: 0.5421 MB / 0.5939 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.3951, allocations: 32.97 kB / 0.594 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/0.3952, allocations: 51.56 kB / 0.594 GB, free: 2.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.286e-06/0.3952, allocations: 0 / 0.594 GB, free: 2.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00867/0.4039, allocations: 2.994 MB / 0.5969 GB, free: 15.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4039, allocations: 94.05 kB / 0.597 GB, free: 15.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.4044, allocations: 469.7 kB / 0.5975 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.4045, allocations: 45.7 kB / 0.5975 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.4048, allocations: 480.9 kB / 0.598 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.4052, allocations: 448.1 kB / 0.5984 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.4056, allocations: 226.9 kB / 0.5986 GB, free: 13.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4058, allocations: 382.8 kB / 0.599 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/0.4066, allocations: 454.4 kB / 0.5994 GB, free: 12.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.4077, allocations: 0.6958 MB / 0.6001 GB, free: 11.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.4096, allocations: 1.202 MB / 0.6013 GB, free: 10.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4096, allocations: 4 kB / 0.6013 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002901/0.4125, allocations: 1.586 MB / 0.6028 GB, free: 9.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.4125, allocations: 11.94 kB / 0.6028 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.4125, allocations: 12 kB / 0.6028 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.4141, allocations: 0.5243 MB / 0.6034 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.4149, allocations: 199.7 kB / 0.6035 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001872/0.4151, allocations: 53.19 kB / 0.6036 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.4157, allocations: 127.1 kB / 0.6037 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.4158, allocations: 44 kB / 0.6038 GB, free: 8.039 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.0004383/0.4162, allocations: 273.5 kB / 0.604 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4164, allocations: 87.48 kB / 0.6041 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.4192, allocations: 1.536 MB / 0.6056 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.4192, allocations: 16 kB / 0.6056 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4192, allocations: 0 / 0.6056 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4193, allocations: 7.969 kB / 0.6056 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.4236, allocations: 2.625 MB / 0.6082 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4236, allocations: 7.938 kB / 0.6082 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.4242, allocations: 139.8 kB / 0.6083 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.4257, allocations: 0.5301 MB / 0.6088 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.4258, allocations: 27.94 kB / 0.6089 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003045/0.4261, allocations: 68.78 kB / 0.6089 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4261, allocations: 0 / 0.6089 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/0.43, allocations: 2.318 MB / 0.6112 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.4305, allocations: 211 kB / 0.6114 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4306, allocations: 20 kB / 0.6114 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.4312, allocations: 52.03 kB / 0.6115 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.4314, allocations: 77.16 kB / 0.6115 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-05/0.4315, allocations: 43.98 kB / 0.6116 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.4318, allocations: 306.9 kB / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4318, allocations: 0 / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009794/0.4328, allocations: 351.2 kB / 0.6122 GB, free: 15.27 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.004931/0.4377, allocations: 2.928 MB / 0.6151 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.4407, allocations: 1.277 MB / 0.6163 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4407, allocations: 3.938 kB / 0.6163 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.4424, allocations: 0.6846 MB / 0.617 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.4432, allocations: 99.95 kB / 0.6171 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.4565, allocations: 8.397 MB / 0.6253 GB, free: 1.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.457, allocations: 454.5 kB / 0.6257 GB, free: 1.082 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004561/0.4575, allocations: 110.8 kB / 0.6258 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.458, allocations: 395.3 kB / 0.6262 GB, free: 0.582 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.458, allocations: 0 / 0.6262 GB, free: 0.582 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/0.5117, allocations: 21.56 MB / 0.6473 GB, free: 11.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.11, allocations: 0 / 0.6473 GB, free: 11.22 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 17.586794752045535]