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.001467/0.001467, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001049/0.001049, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.367/1.367, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 51.23 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08694, allocations: 49.45 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01639/0.1034, allocations: 16.5 MB / 367.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.159/0.2624, allocations: 4.067 MB / 371.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.2663, allocations: 138.6 kB / 371.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.2816, allocations: 7.432 MB / 378.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.2881, allocations: 1.483 MB / 380.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.2923, allocations: 1.089 MB / 381.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009676/0.302, allocations: 8.17 MB / 389.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03363/0.3357, allocations: 22.61 MB / 412.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008282/0.344, allocations: 4.798 MB / 417 MB, free: 144 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008704/0.3527, allocations: 5.341 MB / 422.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003623/0.3564, allocations: 1.383 MB / 423.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005453/0.3619, allocations: 1.631 MB / 425.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004079/0.366, allocations: 2.58 MB / 428 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009023/0.3751, allocations: 5.227 MB / 433.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02054/0.3956, allocations: 18.18 MB / 451.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3957, allocations: 3.938 kB / 451.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.3957, allocations: 0 / 451.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005227/0.3962, allocations: 3.938 kB / 451.4 MB, free: 14.24 MB / 366.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.03077/0.427, allocations: 10.44 MB / 461.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.4271, allocations: 15.89 kB / 461.8 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02015/0.4473, allocations: 3.732 MB / 465.6 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.4578, allocations: 5.176 MB / 470.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006408/0.4585, allocations: 0.6847 MB / 471.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/0.4623, allocations: 0.8928 MB / 472.3 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/0.4955, allocations: 12.72 MB / 485 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/0.4959, allocations: 7.906 kB / 485 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003016/0.4989, allocations: 379.7 kB / 485.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004227/0.4993, allocations: 395.1 kB / 485.8 MB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02658/0.5259, allocations: 11.41 MB / 497.2 MB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07321/0.5992, allocations: 43.67 MB / 0.5282 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3398/0.9391, allocations: 10.5 MB / 0.5384 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.9416, allocations: 1.682 MB / 0.5401 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.9419, allocations: 135.8 kB / 0.5402 GB, free: 126.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.9419, allocations: 58.11 kB / 0.5403 GB, free: 126.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.118e-06/0.9419, allocations: 2.438 kB / 0.5403 GB, free: 126.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.00824/0.9502, allocations: 4.663 MB / 0.5448 GB, free: 125.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.9502, allocations: 78.75 kB / 0.5449 GB, free: 125.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/0.9542, allocations: 2.923 MB / 0.5478 GB, free: 124.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.9544, allocations: 61.23 kB / 0.5478 GB, free: 124.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.9562, allocations: 3.831 MB / 0.5516 GB, free: 121.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.9567, allocations: 0.7943 MB / 0.5523 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.9578, allocations: 0.9466 MB / 0.5533 GB, free: 120.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.9579, allocations: 306.1 kB / 0.5536 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.9603, allocations: 1.971 MB / 0.5555 GB, free: 119.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.9634, allocations: 4.158 MB / 0.5595 GB, free: 116 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/0.9689, allocations: 6.512 MB / 0.5659 GB, free: 111.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.373e-05/0.969, allocations: 19.72 kB / 0.5659 GB, free: 111.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008084/0.977, allocations: 6.508 MB / 0.5723 GB, free: 108.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.9771, allocations: 35.44 kB / 0.5723 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.67e-05/0.9772, allocations: 76.44 kB / 0.5724 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/0.978, allocations: 409 kB / 0.5728 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.9809, allocations: 1.064 MB / 0.5738 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/0.9848, allocations: 4.381 MB / 0.5781 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.9879, allocations: 0.6177 MB / 0.5787 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.9884, allocations: 253.3 kB / 0.5789 GB, free: 105.2 MB / 446.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.003896/0.9923, allocations: 3.36 MB / 0.5822 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.9928, allocations: 277.5 kB / 0.5825 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.9973, allocations: 3.589 MB / 0.586 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003192/1.001, allocations: 2.802 MB / 0.5887 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.001, allocations: 8 kB / 0.5887 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.001, allocations: 11.67 kB / 0.5887 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.013, allocations: 9.931 MB / 0.5984 GB, free: 90.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.013, allocations: 0 / 0.5984 GB, free: 90.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.015, allocations: 415.4 kB / 0.5988 GB, free: 90.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006183/1.016, allocations: 312.9 kB / 0.5991 GB, free: 89.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.016, allocations: 57.78 kB / 0.5992 GB, free: 89.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003608/1.019, allocations: 4.203 MB / 0.6033 GB, free: 85.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.019, allocations: 4 kB / 0.6033 GB, free: 85.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.025, allocations: 5.111 MB / 0.6083 GB, free: 80.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/1.026, allocations: 0.6103 MB / 0.6089 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/1.026, allocations: 39.98 kB / 0.6089 GB, free: 79.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.027, allocations: 135.8 kB / 0.609 GB, free: 79.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.028, allocations: 151 kB / 0.6092 GB, free: 79.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.028, allocations: 63.98 kB / 0.6092 GB, free: 79.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002157/1.03, allocations: 1.963 MB / 0.6112 GB, free: 77.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/1.03, allocations: 0 / 0.6112 GB, free: 77.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00436/1.034, allocations: 1.957 MB / 0.6131 GB, free: 75.46 MB / 446.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.0004265/1.035, allocations: 211.4 kB / 0.6133 GB, free: 75.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.045, allocations: 6.968 MB / 0.6201 GB, free: 68.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.045, allocations: 64 / 0.6201 GB, free: 68.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/1.047, allocations: 1.746 MB / 0.6218 GB, free: 66.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.05, allocations: 0.6789 MB / 0.6225 GB, free: 65.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.068, allocations: 13.1 MB / 0.6352 GB, free: 52.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/1.072, allocations: 5.478 MB / 0.6406 GB, free: 47.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008993/1.073, allocations: 263.4 kB / 0.6408 GB, free: 46.98 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/1.073, allocations: 0 / 0.6408 GB, free: 46.98 MB / 446.1 MB Notification: Performance of Templates: time 0.2987/1.372, allocations: 131.4 MB / 0.7692 GB, free: 98 MB / 462.1 MB 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