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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001423/0.001423, allocations: 213 kB / 23.73 MB, free: 4.164 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.426/1.426, allocations: 230.5 MB / 257.4 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.2205/0.2205, allocations: 46.95 MB / 360.8 MB, free: 3.938 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3262, allocations: 66.09 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02357/0.3497, allocations: 19.52 MB / 0.5798 GB, free: 408 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3613, allocations: 5.393 MB / 0.585 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.3647, allocations: 234.8 kB / 0.5853 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02128/0.386, allocations: 8.842 MB / 0.5939 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009512/0.3955, allocations: 2.182 MB / 0.596 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.4013, allocations: 1.872 MB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01748/0.4187, allocations: 14.55 MB / 0.6121 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03798/0.4567, allocations: 21.12 MB / 0.6327 GB, free: 9.895 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/0.47, allocations: 8.164 MB / 0.6407 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/0.4853, allocations: 8.725 MB / 0.6492 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006105/0.4914, allocations: 2.098 MB / 0.6512 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007526/0.4989, allocations: 2.339 MB / 0.6535 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006673/0.5056, allocations: 4.333 MB / 0.6577 GB, free: 180 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01269/0.5183, allocations: 6.596 MB / 0.6642 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03596/0.5543, allocations: 28.91 MB / 0.6924 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5543, allocations: 0 / 0.6924 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5543, allocations: 0 / 0.6924 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007185/0.555, allocations: 0 / 0.6924 GB, free: 12.55 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.05562/0.6106, allocations: 18.93 MB / 0.7109 GB, free: 9.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6107, allocations: 12.03 kB / 0.7109 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006881/0.6175, allocations: 2.017 MB / 0.7129 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06049/0.678, allocations: 11.49 MB / 0.7241 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02282/0.7008, allocations: 9.036 MB / 0.7329 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/0.7021, allocations: 1.063 MB / 0.734 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006419/0.7085, allocations: 1.367 MB / 0.7353 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5397/1.248, allocations: 23.94 MB / 0.7587 GB, free: 125 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003971/1.249, allocations: 18.19 kB / 0.7587 GB, free: 125 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003092/1.252, allocations: 0.5699 MB / 0.7593 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005089/1.252, allocations: 0.6978 MB / 0.7599 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03929/1.292, allocations: 21.67 MB / 0.7811 GB, free: 102 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/1.396, allocations: 63.35 MB / 0.843 GB, free: 38.68 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.411, allocations: 11.33 MB / 0.854 GB, free: 28.76 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006055/1.417, allocations: 4.512 MB / 0.8584 GB, free: 24.23 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0237/1.441, allocations: 14.34 MB / 0.8724 GB, free: 10.08 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/1.441, allocations: 82.05 kB / 0.8725 GB, free: 9.992 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 7.214e-06/1.441, allocations: 0 / 0.8725 GB, free: 9.992 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03562/1.477, allocations: 15.45 MB / 0.8876 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.477, allocations: 128.7 kB / 0.8877 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008783/1.486, allocations: 5.292 MB / 0.8929 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.487, allocations: 97.7 kB / 0.893 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005322/1.492, allocations: 6.1 MB / 0.8989 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002586/1.495, allocations: 1.674 MB / 0.9006 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003085/1.498, allocations: 1.555 MB / 0.9021 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.498, allocations: 305.1 kB / 0.9024 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00718/1.505, allocations: 4.148 MB / 0.9064 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/1.516, allocations: 7.27 MB / 0.9135 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/1.535, allocations: 11.95 MB / 0.9252 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.535, allocations: 32 kB / 0.9252 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02507/1.56, allocations: 13.09 MB / 0.938 GB, free: 4.473 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-05/1.56, allocations: 48 kB / 0.9381 GB, free: 4.426 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/1.56, allocations: 107.9 kB / 0.9382 GB, free: 4.32 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006923/1.567, allocations: 3.09 MB / 0.9412 GB, free: 1.219 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006356/1.573, allocations: 1.606 MB / 0.9427 GB, free: 15.61 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008866/1.574, allocations: 335 kB / 0.9431 GB, free: 15.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/1.581, allocations: 1.071 MB / 0.9441 GB, free: 14.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.582, allocations: 388 kB / 0.9445 GB, free: 13.82 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.01009/1.592, allocations: 5.39 MB / 0.9497 GB, free: 8.41 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.594, allocations: 0.5201 MB / 0.9503 GB, free: 7.887 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.611, allocations: 9.545 MB / 0.9596 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.693e-05/1.611, allocations: 51.98 kB / 0.9596 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.611, allocations: 4 kB / 0.9596 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-05/1.611, allocations: 23.91 kB / 0.9596 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04333/1.654, allocations: 20.08 MB / 0.9793 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.654, allocations: 0 / 0.9793 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003698/1.658, allocations: 0.7332 MB / 0.98 GB, free: 9.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0072/1.665, allocations: 2.969 MB / 0.9829 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009554/1.666, allocations: 99.97 kB / 0.983 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006697/1.667, allocations: 150.4 kB / 0.9831 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.667, allocations: 0 / 0.9831 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2922/1.959, allocations: 14.19 MB / 0.997 GB, free: 221.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003908/1.963, allocations: 1.369 MB / 0.9983 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.964, allocations: 82.16 kB / 0.9984 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/1.967, allocations: 362 kB / 0.9987 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005922/1.967, allocations: 337.5 kB / 0.9991 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/1.968, allocations: 137.5 kB / 0.9992 GB, free: 221.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004079/1.972, allocations: 3.42 MB / 1.003 GB, free: 220 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.972, allocations: 3.594 kB / 1.003 GB, free: 220 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006654/1.978, allocations: 3.234 MB / 1.006 GB, free: 219.7 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.01822/1.997, allocations: 14.91 MB / 1.02 GB, free: 213.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01561/2.012, allocations: 9.515 MB / 1.03 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/2.012, allocations: 4 kB / 1.03 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007376/2.02, allocations: 4.109 MB / 1.034 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005498/2.025, allocations: 1.269 MB / 1.035 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1114/2.136, allocations: 77.91 MB / 1.111 GB, free: 125.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/2.147, allocations: 8.633 MB / 1.119 GB, free: 117.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005984/2.153, allocations: 2.869 MB / 1.122 GB, free: 114.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006687/2.16, allocations: 4.705 MB / 1.127 GB, free: 109.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.473e-06/2.16, allocations: 0 / 1.127 GB, free: 109.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4856/2.646, allocations: 175.5 MB / 1.298 GB, free: 209.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.32/22.97, allocations: 3.828 kB / 1.298 GB, free: 209.1 MB / 0.6857 GB " [Timeout remaining time 637] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 29.677062585949898]