Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001302/0.001302, 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.00139/0.00139, allocations: 206.9 kB / 24.51 MB, free: 3.945 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2199/0.2199, allocations: 46.96 MB / 361.6 MB, free: 3.918 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.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 83.81 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3027, allocations: 66.09 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02242/0.3252, allocations: 19.51 MB / 0.5805 GB, free: 456 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.3375, allocations: 5.374 MB / 0.5857 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004282/0.3418, allocations: 230.8 kB / 0.586 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02012/0.3619, allocations: 8.845 MB / 0.5946 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007784/0.3697, allocations: 2.206 MB / 0.5968 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.3751, allocations: 1.876 MB / 0.5986 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01803/0.3932, allocations: 14.53 MB / 0.6128 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03592/0.4291, allocations: 21.3 MB / 0.6336 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01313/0.4422, allocations: 8.16 MB / 0.6415 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01628/0.4585, allocations: 8.803 MB / 0.6501 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006066/0.4645, allocations: 2.102 MB / 0.6522 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008426/0.473, allocations: 2.344 MB / 0.6545 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007311/0.4803, allocations: 4.341 MB / 0.6587 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01586/0.4961, allocations: 6.584 MB / 0.6651 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03682/0.533, allocations: 28.91 MB / 0.6934 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.533, allocations: 4 kB / 0.6934 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.533, allocations: 0 / 0.6934 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008368/0.5338, allocations: 0 / 0.6934 GB, free: 12.36 MB / 0.5294 GB 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.05743/0.5912, allocations: 18.93 MB / 0.7119 GB, free: 9.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5913, allocations: 12.03 kB / 0.7119 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004334/0.5917, allocations: 381.1 kB / 0.7123 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008404/0.6001, allocations: 2.013 MB / 0.7142 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06062/0.6607, allocations: 11.48 MB / 0.7254 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/0.6831, allocations: 9.044 MB / 0.7343 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/0.6842, allocations: 1.059 MB / 0.7353 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4864/1.171, allocations: 1.369 MB / 0.7366 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05388/1.224, allocations: 23.94 MB / 0.76 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004305/1.225, allocations: 14.19 kB / 0.76 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00372/1.229, allocations: 0.5697 MB / 0.7606 GB, free: 124 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005103/1.229, allocations: 0.7017 MB / 0.7613 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0363/1.265, allocations: 21.74 MB / 0.7825 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/1.366, allocations: 63.36 MB / 0.8444 GB, free: 38.18 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/1.381, allocations: 11.33 MB / 0.8554 GB, free: 28.25 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005598/1.386, allocations: 4.504 MB / 0.8598 GB, free: 23.72 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02271/1.409, allocations: 14.34 MB / 0.8739 GB, free: 9.496 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/1.409, allocations: 82.11 kB / 0.8739 GB, free: 9.406 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 8.486e-06/1.409, allocations: 0 / 0.8739 GB, free: 9.406 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03389/1.443, allocations: 15.46 MB / 0.889 GB, free: 9.918 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.443, allocations: 124.7 kB / 0.8891 GB, free: 9.777 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008852/1.452, allocations: 5.117 MB / 0.8941 GB, free: 4.727 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008442/1.453, allocations: 101.7 kB / 0.8942 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004836/1.458, allocations: 6.097 MB / 0.9002 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002305/1.46, allocations: 1.666 MB / 0.9018 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002769/1.463, allocations: 1.555 MB / 0.9033 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.463, allocations: 301.1 kB / 0.9036 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006664/1.469, allocations: 4.152 MB / 0.9077 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009603/1.479, allocations: 7.266 MB / 0.9148 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/1.496, allocations: 11.96 MB / 0.9264 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.496, allocations: 28 kB / 0.9265 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02501/1.521, allocations: 13.08 MB / 0.9393 GB, free: 4.07 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/1.521, allocations: 51.94 kB / 0.9393 GB, free: 4.02 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.522, allocations: 104 kB / 0.9394 GB, free: 3.918 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006598/1.528, allocations: 3.094 MB / 0.9424 GB, free: 0.8125 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006226/1.534, allocations: 1.599 MB / 0.944 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008974/1.535, allocations: 342.9 kB / 0.9443 GB, free: 14.87 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006332/1.542, allocations: 1.071 MB / 0.9454 GB, free: 13.79 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.543, allocations: 388 kB / 0.9457 GB, free: 13.41 MB / 0.6388 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.009813/1.553, allocations: 5.386 MB / 0.951 GB, free: 8.008 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.554, allocations: 0.5278 MB / 0.9515 GB, free: 7.477 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.571, allocations: 9.549 MB / 0.9608 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/1.571, allocations: 48 kB / 0.9609 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.571, allocations: 3.938 kB / 0.9609 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/1.571, allocations: 23.91 kB / 0.9609 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0402/1.611, allocations: 20.08 MB / 0.9805 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.611, allocations: 0 / 0.9805 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/1.614, allocations: 0.7372 MB / 0.9812 GB, free: 8.926 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00643/1.621, allocations: 2.965 MB / 0.9841 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005623/1.621, allocations: 99.97 kB / 0.9842 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006306/1.622, allocations: 146.4 kB / 0.9844 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.622, allocations: 3.938 kB / 0.9844 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2773/1.899, allocations: 14.19 MB / 0.9982 GB, free: 225.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003529/1.903, allocations: 1.371 MB / 0.9996 GB, free: 224.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.904, allocations: 74.94 kB / 0.9996 GB, free: 224.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.906, allocations: 363.2 kB / 1 GB, free: 224.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/1.907, allocations: 338.3 kB / 1 GB, free: 224.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/1.907, allocations: 137.4 kB / 1 GB, free: 224.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003922/1.911, allocations: 3.423 MB / 1.004 GB, free: 223.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.911, allocations: 0 / 1.004 GB, free: 223.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007109/1.918, allocations: 3.234 MB / 1.007 GB, free: 223.3 MB / 0.67 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.01769/1.936, allocations: 14.91 MB / 1.021 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.949, allocations: 9.511 MB / 1.031 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.949, allocations: 6.5 kB / 1.031 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007071/1.956, allocations: 4.104 MB / 1.035 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/1.962, allocations: 1.276 MB / 1.036 GB, free: 206.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09938/2.062, allocations: 77.9 MB / 1.112 GB, free: 125.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0086/2.07, allocations: 8.633 MB / 1.121 GB, free: 117 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005686/2.076, allocations: 2.869 MB / 1.123 GB, free: 114.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00575/2.082, allocations: 4.701 MB / 1.128 GB, free: 109.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/2.082, allocations: 0 / 1.128 GB, free: 109.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4537/2.535, allocations: 175 MB / 1.299 GB, free: 207.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.83/26.36, allocations: 12.3 kB / 1.299 GB, free: 207.3 MB / 0.6857 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 35.1925914559979]