Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 101.9 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 205.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.3 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.0919, allocations: 50.54 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1681/0.26, allocations: 16.21 MB / 373.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007707/0.2677, allocations: 4.078 MB / 377.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.2708, allocations: 137.2 kB / 377.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01492/0.2857, allocations: 7.068 MB / 384.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007023/0.2928, allocations: 1.153 MB / 385.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.2973, allocations: 1.121 MB / 386.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.3084, allocations: 8.174 MB / 394.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04318/0.3516, allocations: 26.11 MB / 421 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008956/0.3606, allocations: 4.874 MB / 425.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008763/0.3694, allocations: 5.357 MB / 431.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003722/0.3732, allocations: 1.387 MB / 432.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005486/0.3787, allocations: 1.66 MB / 434.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003914/0.3826, allocations: 2.592 MB / 436.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00896/0.3916, allocations: 5.218 MB / 442.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.4117, allocations: 18.21 MB / 460.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4117, allocations: 0 / 460.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4117, allocations: 0 / 460.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004699/0.4122, allocations: 0 / 460.3 MB, free: 4.863 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.03042/0.4426, allocations: 10.46 MB / 470.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.4427, allocations: 8.031 kB / 470.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/0.4631, allocations: 3.744 MB / 474.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.4739, allocations: 5.183 MB / 479.7 MB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006704/0.4746, allocations: 0.6824 MB / 480.4 MB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/0.4776, allocations: 0.8907 MB / 481.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03207/0.5097, allocations: 12.73 MB / 494 MB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/0.5101, allocations: 7.906 kB / 494 MB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/0.5126, allocations: 383.9 kB / 494.4 MB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003933/0.513, allocations: 403 kB / 494.8 MB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.5373, allocations: 11.43 MB / 0.4944 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3655/0.9028, allocations: 44.16 MB / 0.5375 GB, free: 114.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009097/0.912, allocations: 10.53 MB / 0.5478 GB, free: 106.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.9144, allocations: 1.727 MB / 0.5495 GB, free: 106.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.9146, allocations: 221 kB / 0.5497 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.9147, allocations: 66.98 kB / 0.5497 GB, free: 106.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.319e-06/0.9147, allocations: 0 / 0.5497 GB, free: 106.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.00795/0.9226, allocations: 4.773 MB / 0.5544 GB, free: 106.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.9227, allocations: 75.41 kB / 0.5545 GB, free: 106.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.9264, allocations: 2.924 MB / 0.5573 GB, free: 106 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.9266, allocations: 60.39 kB / 0.5574 GB, free: 106 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.9281, allocations: 3.825 MB / 0.5611 GB, free: 103.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/0.9287, allocations: 0.8107 MB / 0.5619 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.9297, allocations: 0.9576 MB / 0.5628 GB, free: 103.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.9297, allocations: 305.1 kB / 0.5631 GB, free: 102.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.9319, allocations: 2.008 MB / 0.5651 GB, free: 102.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.9349, allocations: 4.2 MB / 0.5692 GB, free: 99.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005614/0.9405, allocations: 6.584 MB / 0.5756 GB, free: 94.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-05/0.9406, allocations: 18.88 kB / 0.5756 GB, free: 94.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.007902/0.9485, allocations: 6.586 MB / 0.5821 GB, free: 91.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.9486, allocations: 41.25 kB / 0.5821 GB, free: 91.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-05/0.9486, allocations: 76.34 kB / 0.5822 GB, free: 91.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.9494, allocations: 416.7 kB / 0.5826 GB, free: 91.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/0.9522, allocations: 1.062 MB / 0.5836 GB, free: 91.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.9561, allocations: 4.383 MB / 0.5879 GB, free: 88.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.9589, allocations: 0.6208 MB / 0.5885 GB, free: 88.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003817/0.9593, allocations: 248.4 kB / 0.5887 GB, free: 88.1 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004071/0.9634, allocations: 3.372 MB / 0.592 GB, free: 85.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/0.9639, allocations: 285.6 kB / 0.5923 GB, free: 85.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.9687, allocations: 3.663 MB / 0.5959 GB, free: 83.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003296/0.972, allocations: 2.887 MB / 0.5987 GB, free: 82.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.972, allocations: 3.094 kB / 0.5987 GB, free: 82.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.972, allocations: 11.95 kB / 0.5987 GB, free: 82.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.9868, allocations: 10.06 MB / 0.6085 GB, free: 72.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.9869, allocations: 0 / 0.6085 GB, free: 72.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.9883, allocations: 407.4 kB / 0.6089 GB, free: 72.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006093/0.9889, allocations: 329.1 kB / 0.6093 GB, free: 71.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.9891, allocations: 47.98 kB / 0.6093 GB, free: 71.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.9927, allocations: 4.193 MB / 0.6134 GB, free: 67.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9927, allocations: 0 / 0.6134 GB, free: 67.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005667/0.9984, allocations: 5.256 MB / 0.6185 GB, free: 62.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/0.9994, allocations: 0.6134 MB / 0.6191 GB, free: 61.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.9997, allocations: 44 kB / 0.6192 GB, free: 61.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.001, allocations: 134.6 kB / 0.6193 GB, free: 61.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.001, allocations: 153.8 kB / 0.6194 GB, free: 61.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.001, allocations: 71.97 kB / 0.6195 GB, free: 61.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002209/1.003, allocations: 1.963 MB / 0.6214 GB, free: 59.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.003, allocations: 0 / 0.6214 GB, free: 59.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004317/1.008, allocations: 1.955 MB / 0.6233 GB, free: 57.16 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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004258/1.008, allocations: 208.6 kB / 0.6235 GB, free: 56.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01143/1.02, allocations: 7.169 MB / 0.6305 GB, free: 49.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.02, allocations: 4.25 kB / 0.6305 GB, free: 49.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/1.022, allocations: 1.777 MB / 0.6323 GB, free: 48.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/1.025, allocations: 0.6843 MB / 0.6329 GB, free: 47.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/1.046, allocations: 17.03 MB / 0.6496 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/1.051, allocations: 5.649 MB / 0.6551 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003805/1.055, allocations: 1.698 MB / 0.6567 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/1.056, allocations: 231.4 kB / 0.657 GB, free: 22.68 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/1.056, allocations: 0 / 0.657 GB, free: 22.68 MB / 446.1 MB Notification: Performance of Templates: time 0.06745/1.123, allocations: 42.37 MB / 0.6983 GB, free: 12.56 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches