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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001718, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 96.42 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3708/0.3708, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4111, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0193/0.4304, allocations: 22.33 MB / 0.537 GB, free: 21.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.4447, allocations: 5.481 MB / 0.5423 GB, free: 17.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006542/0.4513, allocations: 187.8 kB / 0.5425 GB, free: 17.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02142/0.4729, allocations: 8.995 MB / 0.5513 GB, free: 12.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.4836, allocations: 1.948 MB / 0.5532 GB, free: 10.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007292/0.4909, allocations: 1.792 MB / 0.5549 GB, free: 9.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.027/0.5179, allocations: 14.71 MB / 0.5693 GB, free: 2.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05912/0.5771, allocations: 29.03 MB / 0.5976 GB, free: 4.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01743/0.5946, allocations: 7.038 MB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01795/0.6126, allocations: 8.412 MB / 0.6127 GB, free: 5.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008496/0.6212, allocations: 1.512 MB / 0.6142 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.6347, allocations: 1.761 MB / 0.6159 GB, free: 2.059 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009476/0.6442, allocations: 3.685 MB / 0.6195 GB, free: 14.36 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0232/0.6675, allocations: 7.771 MB / 0.6271 GB, free: 6.559 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04376/0.7113, allocations: 28.06 MB / 0.6545 GB, free: 10.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.7114, allocations: 0 / 0.6545 GB, free: 10.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.7114, allocations: 0 / 0.6545 GB, free: 10.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001378/0.7128, allocations: 0 / 0.6545 GB, free: 10.42 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.07258/0.7854, allocations: 18.69 MB / 0.6728 GB, free: 7.617 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.7855, allocations: 8.031 kB / 0.6728 GB, free: 7.609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6529/1.438, allocations: 11.69 MB / 0.6842 GB, free: 109.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02614/1.465, allocations: 8.558 MB / 0.6925 GB, free: 105.9 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.466, allocations: 1.064 MB / 0.6936 GB, free: 105.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006972/1.473, allocations: 1.371 MB / 0.6949 GB, free: 105 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07238/1.545, allocations: 23.58 MB / 0.718 GB, free: 96.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001058/1.546, allocations: 23.55 kB / 0.718 GB, free: 96.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00649/1.553, allocations: 0.5698 MB / 0.7185 GB, free: 95.74 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/1.554, allocations: 0.7006 MB / 0.7192 GB, free: 95.68 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04873/1.603, allocations: 21.68 MB / 0.7404 GB, free: 78.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/1.743, allocations: 72.7 MB / 0.8114 GB, free: 3.945 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02893/1.772, allocations: 28.65 MB / 0.8394 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01035/1.782, allocations: 4.965 MB / 0.8442 GB, free: 15.61 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04357/1.826, allocations: 16.49 MB / 0.8603 GB, free: 14.71 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/1.826, allocations: 86.05 kB / 0.8604 GB, free: 14.62 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=465): time 9.738e-06/1.826, allocations: 0 / 0.8604 GB, free: 14.62 MB / 0.5418 GB Notification: Performance of matching and sorting (n=465): time 0.04483/1.871, allocations: 15.7 MB / 0.8757 GB, free: 14.83 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/1.871, allocations: 124.7 kB / 0.8758 GB, free: 14.69 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.883, allocations: 5.109 MB / 0.8808 GB, free: 9.57 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00135/1.884, allocations: 101.7 kB / 0.8809 GB, free: 9.465 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00529/1.89, allocations: 5.882 MB / 0.8867 GB, free: 3.508 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/1.893, allocations: 1.595 MB / 0.8882 GB, free: 1.891 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005426/1.898, allocations: 1.535 MB / 0.8897 GB, free: 356 kB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.898, allocations: 305.2 kB / 0.89 GB, free: 48 kB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.359/2.257, allocations: 4.139 MB / 0.8941 GB, free: 172.4 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008352/2.266, allocations: 7.268 MB / 0.9012 GB, free: 166.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/2.281, allocations: 11.93 MB / 0.9128 GB, free: 159.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001824/2.281, allocations: 29.94 kB / 0.9128 GB, free: 159.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02879/2.31, allocations: 13.11 MB / 0.9256 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/2.31, allocations: 48.78 kB / 0.9257 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/2.311, allocations: 104.5 kB / 0.9258 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007785/2.318, allocations: 3.095 MB / 0.9288 GB, free: 153.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006314/2.325, allocations: 1.591 MB / 0.9304 GB, free: 153.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008473/2.326, allocations: 343.6 kB / 0.9307 GB, free: 153.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006757/2.332, allocations: 1.059 MB / 0.9317 GB, free: 153 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/2.334, allocations: 384 kB / 0.9321 GB, free: 153 MB / 0.5574 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.009716/2.344, allocations: 5.392 MB / 0.9374 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/2.345, allocations: 0.4969 MB / 0.9378 GB, free: 150.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/2.361, allocations: 9.634 MB / 0.9472 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-05/2.361, allocations: 51 kB / 0.9473 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/2.361, allocations: 0 / 0.9473 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-05/2.361, allocations: 24.94 kB / 0.9473 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/2.4, allocations: 20.8 MB / 0.9676 GB, free: 133 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/2.4, allocations: 0 / 0.9676 GB, free: 133 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00316/2.403, allocations: 0.7317 MB / 0.9683 GB, free: 132.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006096/2.409, allocations: 2.966 MB / 0.9712 GB, free: 130.1 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001526/2.411, allocations: 98.28 kB / 0.9713 GB, free: 130.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007203/2.411, allocations: 147.8 kB / 0.9715 GB, free: 129.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.411, allocations: 0 / 0.9715 GB, free: 129.9 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02931/2.441, allocations: 23.28 MB / 0.9942 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00347/2.444, allocations: 1.364 MB / 0.9955 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008047/2.445, allocations: 80 kB / 0.9956 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/2.448, allocations: 379.5 kB / 0.996 GB, free: 104.8 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/2.449, allocations: 319.3 kB / 0.9963 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/2.449, allocations: 132 kB / 0.9964 GB, free: 104.4 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.005157/2.454, allocations: 3.423 MB / 0.9998 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.3e-07/2.454, allocations: 0 / 0.9998 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01207/2.466, allocations: 3.452 MB / 1.003 GB, free: 97.46 MB / 0.5574 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.001418/2.468, allocations: 268 kB / 1.003 GB, free: 97.2 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01587/2.483, allocations: 9.884 MB / 1.013 GB, free: 87.34 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.483, allocations: 4 kB / 1.013 GB, free: 87.33 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007873/2.491, allocations: 4.448 MB / 1.017 GB, free: 82.86 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006663/2.498, allocations: 1.189 MB / 1.019 GB, free: 81.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04601/2.544, allocations: 32.71 MB / 1.05 GB, free: 49 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01435/2.558, allocations: 9.132 MB / 1.059 GB, free: 39.83 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007538/2.566, allocations: 2.869 MB / 1.062 GB, free: 36.96 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/2.567, allocations: 371.4 kB / 1.063 GB, free: 36.59 MB / 0.5574 GB Notification: Performance of SimCode: time 1.112e-06/2.567, allocations: 0 / 1.063 GB, free: 36.59 MB / 0.5574 GB Notification: Performance of Templates: time 0.4443/3.012, allocations: 96.22 MB / 1.157 GB, free: 154.1 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches