Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.0008597/0.0008597, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009248/0.0009248, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8927/0.8927, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.248/0.248, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.142e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.1772/0.1772, allocations: 19.54 MB / 461.7 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008673/0.1859, allocations: 5.4 MB / 467.1 MB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/0.1897, allocations: 230.2 kB / 467.3 MB, free: 28.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009157/0.1988, allocations: 9.37 MB / 476.7 MB, free: 23.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.205, allocations: 2.242 MB / 479 MB, free: 21.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.2086, allocations: 1.872 MB / 480.8 MB, free: 20.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.2199, allocations: 15.02 MB / 495.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03063/0.2505, allocations: 21.16 MB / 0.5049 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02843/0.279, allocations: 11.92 MB / 0.5165 GB, free: 9.332 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01405/0.293, allocations: 7.864 MB / 0.5242 GB, free: 2.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005696/0.2987, allocations: 2.105 MB / 0.5263 GB, free: 56 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007952/0.3067, allocations: 2.351 MB / 0.5286 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007379/0.3141, allocations: 4.406 MB / 0.5329 GB, free: 9.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01243/0.3265, allocations: 5.676 MB / 0.5384 GB, free: 3.598 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02732/0.3538, allocations: 29.1 MB / 0.5668 GB, free: 6.418 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3538, allocations: 1.5 kB / 0.5668 GB, free: 6.418 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3538, allocations: 3.938 kB / 0.5668 GB, free: 6.414 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007815/0.3546, allocations: 0 / 0.5668 GB, free: 6.414 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04563/0.4002, allocations: 18.79 MB / 0.5852 GB, free: 3.516 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4003, allocations: 16.02 kB / 0.5852 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0069/0.4072, allocations: 2.01 MB / 0.5872 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03384/0.441, allocations: 11.49 MB / 0.5984 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.4573, allocations: 9.047 MB / 0.6072 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009555/0.4582, allocations: 1.06 MB / 0.6083 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005459/0.4637, allocations: 1.368 MB / 0.6096 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/0.5115, allocations: 23.94 MB / 0.633 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004372/0.5119, allocations: 19.89 kB / 0.633 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0043/0.5162, allocations: 0.5742 MB / 0.6335 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005241/0.5167, allocations: 0.6978 MB / 0.6342 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.23/0.7467, allocations: 21.66 MB / 0.6554 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/0.8471, allocations: 63.37 MB / 0.7173 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.86, allocations: 11.33 MB / 0.7283 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005922/0.8659, allocations: 4.508 MB / 0.7327 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01813/0.884, allocations: 14.33 MB / 0.7467 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.8841, allocations: 82.11 kB / 0.7468 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=465): time 7.273e-06/0.8841, allocations: 3.938 kB / 0.7468 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=465): time 0.02229/0.9064, allocations: 15.43 MB / 0.7619 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.9064, allocations: 124.7 kB / 0.762 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/0.9127, allocations: 5.295 MB / 0.7672 GB, free: 44.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/0.9139, allocations: 101.7 kB / 0.7673 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/0.9162, allocations: 6.08 MB / 0.7732 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/0.9184, allocations: 1.641 MB / 0.7748 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00226/0.9207, allocations: 1.536 MB / 0.7763 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.9207, allocations: 309 kB / 0.7766 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004424/0.9251, allocations: 4.144 MB / 0.7807 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005871/0.931, allocations: 7.274 MB / 0.7878 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.9423, allocations: 11.96 MB / 0.7994 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/0.9424, allocations: 28 kB / 0.7995 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01933/0.9617, allocations: 13.08 MB / 0.8122 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/0.9618, allocations: 52 kB / 0.8123 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.962, allocations: 104.9 kB / 0.8124 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004432/0.9664, allocations: 3.093 MB / 0.8154 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/0.9707, allocations: 1.606 MB / 0.817 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006202/0.9714, allocations: 331.2 kB / 0.8173 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/0.9762, allocations: 1.075 MB / 0.8183 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/0.9775, allocations: 391.9 kB / 0.8187 GB, free: 4.273 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.009182/0.9867, allocations: 5.392 MB / 0.824 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/0.9877, allocations: 0.5161 MB / 0.8245 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1, allocations: 9.553 MB / 0.8338 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/1, allocations: 48 kB / 0.8339 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1, allocations: 0 / 0.8339 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/1, allocations: 27.91 kB / 0.8339 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0312/1.032, allocations: 20.09 MB / 0.8535 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.032, allocations: 3.938 kB / 0.8535 GB, free: 0.625 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2187/1.25, allocations: 0.7417 MB / 0.8542 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004308/1.255, allocations: 2.963 MB / 0.8571 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009352/1.256, allocations: 104 kB / 0.8572 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/1.256, allocations: 145.1 kB / 0.8574 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.256, allocations: 0 / 0.8574 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/1.273, allocations: 14.19 MB / 0.8712 GB, free: 164.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002946/1.276, allocations: 1.368 MB / 0.8726 GB, free: 164.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.277, allocations: 76.53 kB / 0.8726 GB, free: 164.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.279, allocations: 362.8 kB / 0.873 GB, free: 164.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/1.28, allocations: 339 kB / 0.8733 GB, free: 164 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.28, allocations: 135.7 kB / 0.8734 GB, free: 164 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004068/1.284, allocations: 3.423 MB / 0.8768 GB, free: 162.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.284, allocations: 0.5469 kB / 0.8768 GB, free: 162.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007403/1.291, allocations: 3.234 MB / 0.8799 GB, free: 161.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01996/1.311, allocations: 14.91 MB / 0.8945 GB, free: 155.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01617/1.327, allocations: 9.514 MB / 0.9038 GB, free: 152.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.327, allocations: 1.312 kB / 0.9038 GB, free: 152.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007121/1.335, allocations: 4.116 MB / 0.9078 GB, free: 151.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/1.339, allocations: 1.272 MB / 0.909 GB, free: 150.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0951/1.434, allocations: 77.94 MB / 0.9852 GB, free: 81.69 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009495/1.444, allocations: 8.625 MB / 0.9936 GB, free: 73.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004899/1.449, allocations: 2.873 MB / 0.9964 GB, free: 70.14 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005723/1.455, allocations: 4.702 MB / 1.001 GB, free: 65.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.824e-06/1.455, allocations: 3.938 kB / 1.001 GB, free: 65.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3879/1.842, allocations: 175.1 MB / 1.172 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.39, allocations: 14.56 kB / 1.172 GB, free: 140.5 MB / 0.5886 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 20.02510796394199]