Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 110.8 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 188.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 43.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0177/0.2881, allocations: 16.5 MB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00946/0.2976, allocations: 4.079 MB / 422 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.3008, allocations: 139.6 kB / 422.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.317, allocations: 7.439 MB / 429.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006169/0.3232, allocations: 1.491 MB / 431.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.3268, allocations: 1.079 MB / 432.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.3371, allocations: 8.257 MB / 440.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03178/0.3689, allocations: 22.51 MB / 462.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/0.376, allocations: 4.816 MB / 467.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008341/0.3844, allocations: 5.322 MB / 473 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003183/0.3876, allocations: 1.383 MB / 474.4 MB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004951/0.3926, allocations: 1.648 MB / 476.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003366/0.396, allocations: 2.58 MB / 478.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008398/0.4044, allocations: 5.21 MB / 483.9 MB, free: 6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.4226, allocations: 18.3 MB / 0.4904 GB, free: 3.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4227, allocations: 0 / 0.4904 GB, free: 3.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4227, allocations: 0 / 0.4904 GB, free: 3.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000488/0.4232, allocations: 0 / 0.4904 GB, free: 3.648 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02854/0.4517, allocations: 10.44 MB / 0.5006 GB, free: 9.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4518, allocations: 11.89 kB / 0.5006 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/0.4706, allocations: 3.729 MB / 0.5042 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.4814, allocations: 5.355 MB / 0.5095 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005811/0.4821, allocations: 0.6824 MB / 0.5101 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/0.4849, allocations: 0.8944 MB / 0.511 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/0.5131, allocations: 12.73 MB / 0.5234 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.5133, allocations: 4 kB / 0.5234 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001633/0.515, allocations: 380 kB / 0.5238 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/0.5153, allocations: 399.1 kB / 0.5242 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.5385, allocations: 11.4 MB / 0.5353 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.446/0.9845, allocations: 43.09 MB / 0.5774 GB, free: 93.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007551/0.9921, allocations: 10.49 MB / 0.5877 GB, free: 83.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.994, allocations: 1.683 MB / 0.5893 GB, free: 81.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.9942, allocations: 134.7 kB / 0.5894 GB, free: 81.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.9942, allocations: 64.5 kB / 0.5895 GB, free: 81.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 3.727e-06/0.9942, allocations: 0 / 0.5895 GB, free: 81.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006743/1.001, allocations: 4.664 MB / 0.594 GB, free: 76.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.001, allocations: 73.41 kB / 0.5941 GB, free: 76.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/1.004, allocations: 2.926 MB / 0.597 GB, free: 73.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.005, allocations: 61.7 kB / 0.597 GB, free: 73.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/1.006, allocations: 3.828 MB / 0.6008 GB, free: 69.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005506/1.007, allocations: 0.7959 MB / 0.6015 GB, free: 68.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009936/1.008, allocations: 0.9443 MB / 0.6025 GB, free: 67.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.008, allocations: 301.1 kB / 0.6027 GB, free: 67.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/1.01, allocations: 1.973 MB / 0.6047 GB, free: 65.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/1.013, allocations: 4.152 MB / 0.6087 GB, free: 60.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/1.018, allocations: 6.513 MB / 0.6151 GB, free: 52.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.163e-05/1.018, allocations: 20 kB / 0.6151 GB, free: 52.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008098/1.026, allocations: 6.507 MB / 0.6215 GB, free: 46.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/1.026, allocations: 36 kB / 0.6215 GB, free: 46.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-05/1.026, allocations: 76 kB / 0.6216 GB, free: 46.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007441/1.027, allocations: 408.8 kB / 0.622 GB, free: 45.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.03, allocations: 1.061 MB / 0.623 GB, free: 44.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/1.034, allocations: 4.386 MB / 0.6273 GB, free: 40.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.037, allocations: 0.6192 MB / 0.6279 GB, free: 39.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.038, allocations: 255.9 kB / 0.6281 GB, free: 39.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005022/1.043, allocations: 3.365 MB / 0.6314 GB, free: 35.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/1.044, allocations: 276.5 kB / 0.6317 GB, free: 35.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/1.048, allocations: 3.581 MB / 0.6352 GB, free: 31.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003142/1.051, allocations: 2.803 MB / 0.6379 GB, free: 29.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.051, allocations: 7.938 kB / 0.6379 GB, free: 29.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/1.051, allocations: 11.95 kB / 0.6379 GB, free: 29.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.068, allocations: 9.855 MB / 0.6476 GB, free: 19.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.068, allocations: 7.938 kB / 0.6476 GB, free: 19.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.069, allocations: 411.4 kB / 0.648 GB, free: 18.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/1.07, allocations: 317.1 kB / 0.6483 GB, free: 18.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.07, allocations: 51.92 kB / 0.6483 GB, free: 18.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/1.074, allocations: 4.204 MB / 0.6524 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.074, allocations: 0 / 0.6524 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/1.079, allocations: 5.109 MB / 0.6574 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.081, allocations: 0.6064 MB / 0.658 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/1.081, allocations: 48.05 kB / 0.658 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.082, allocations: 135.8 kB / 0.6582 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/1.082, allocations: 141.8 kB / 0.6583 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.082, allocations: 67.98 kB / 0.6584 GB, free: 7.973 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002504/1.085, allocations: 1.963 MB / 0.6603 GB, free: 6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.085, allocations: 0 / 0.6603 GB, free: 6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00473/1.09, allocations: 1.955 MB / 0.6622 GB, free: 4.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004693/1.09, allocations: 224.1 kB / 0.6624 GB, free: 3.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005971/1.096, allocations: 4.614 MB / 0.6669 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.096, allocations: 4 kB / 0.6669 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.099, allocations: 1.736 MB / 0.6686 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.102, allocations: 0.6776 MB / 0.6693 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/1.127, allocations: 12.95 MB / 0.6819 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006669/1.134, allocations: 5.474 MB / 0.6873 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.135, allocations: 263.4 kB / 0.6875 GB, free: 10.02 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/1.135, allocations: 4 kB / 0.6875 GB, free: 10.01 MB / 494.1 MB Notification: Performance of Templates: time 0.3937/1.528, allocations: 132 MB / 0.8164 GB, free: 128.2 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches