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.001175/0.001175, allocations: 114.6 kB / 17.69 MB, free: 5.309 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.001424/0.001424, allocations: 191 kB / 18.63 MB, free: 4.375 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009361/0.0009361, allocations: 44.48 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08736, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01671/0.1041, allocations: 16.5 MB / 368 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1579/0.262, allocations: 4.069 MB / 372.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/0.2659, allocations: 138.2 kB / 372.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01593/0.2819, allocations: 7.439 MB / 379.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006355/0.2883, allocations: 1.477 MB / 381.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.2917, allocations: 1.097 MB / 382.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009649/0.3014, allocations: 8.252 MB / 390.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03018/0.3316, allocations: 22.52 MB / 413 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007589/0.3392, allocations: 4.798 MB / 417.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008611/0.3479, allocations: 5.326 MB / 423.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003221/0.3511, allocations: 1.383 MB / 424.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004733/0.3559, allocations: 1.646 MB / 426.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.3594, allocations: 2.586 MB / 428.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008602/0.368, allocations: 5.211 MB / 433.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.3864, allocations: 18.29 MB / 452.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3865, allocations: 0 / 452.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3865, allocations: 0 / 452.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000486/0.387, allocations: 0 / 452.2 MB, free: 13.86 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.02807/0.4151, allocations: 10.44 MB / 462.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4151, allocations: 11.89 kB / 462.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.434, allocations: 3.735 MB / 466.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.4465, allocations: 5.356 MB / 471.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005654/0.447, allocations: 0.68 MB / 472.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002885/0.4499, allocations: 0.897 MB / 473.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02939/0.4793, allocations: 12.72 MB / 486.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002132/0.4796, allocations: 7.906 kB / 486.1 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.4811, allocations: 379 kB / 486.4 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003204/0.4814, allocations: 399.1 kB / 486.8 MB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.5031, allocations: 11.4 MB / 498.2 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06811/0.5713, allocations: 43.09 MB / 0.5286 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3576/0.9289, allocations: 10.49 MB / 0.5389 GB, free: 126.9 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/0.9332, allocations: 1.681 MB / 0.5405 GB, free: 126.8 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.9335, allocations: 136.2 kB / 0.5407 GB, free: 126.7 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.9336, allocations: 59 kB / 0.5407 GB, free: 126.7 MB / 446.2 MB Notification: Performance of pre-optimization done (n=223): time 7.594e-06/0.9336, allocations: 1.406 kB / 0.5407 GB, free: 126.7 MB / 446.2 MB Notification: Performance of matching and sorting (n=223): time 0.01206/0.9456, allocations: 4.663 MB / 0.5453 GB, free: 125.7 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.9457, allocations: 79.23 kB / 0.5454 GB, free: 125.6 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006442/0.9522, allocations: 2.923 MB / 0.5482 GB, free: 124.6 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.000317/0.9525, allocations: 61.36 kB / 0.5483 GB, free: 124.5 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.00294/0.9555, allocations: 3.837 MB / 0.552 GB, free: 121.8 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.9564, allocations: 0.7918 MB / 0.5528 GB, free: 121.2 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.9581, allocations: 0.9462 MB / 0.5537 GB, free: 120.8 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.9581, allocations: 301.1 kB / 0.554 GB, free: 120.5 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/0.9622, allocations: 1.97 MB / 0.5559 GB, free: 119.8 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/0.9671, allocations: 4.158 MB / 0.56 GB, free: 116.2 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0085/0.9756, allocations: 6.516 MB / 0.5663 GB, free: 111.3 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.2e-05/0.9757, allocations: 24.47 kB / 0.5664 GB, free: 111.3 MB / 446.2 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01205/0.9878, allocations: 6.499 MB / 0.5727 GB, free: 108.7 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.9878, allocations: 35.47 kB / 0.5728 GB, free: 108.7 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.75e-05/0.988, allocations: 75 kB / 0.5728 GB, free: 108.7 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.989, allocations: 416.1 kB / 0.5732 GB, free: 108.6 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/0.9936, allocations: 1.064 MB / 0.5743 GB, free: 108.5 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.9998, allocations: 4.369 MB / 0.5785 GB, free: 105.7 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.004, allocations: 0.6174 MB / 0.5791 GB, free: 105.4 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/1.005, allocations: 250 kB / 0.5794 GB, free: 105.3 MB / 446.2 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.006884/1.012, allocations: 3.37 MB / 0.5827 GB, free: 103.8 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008211/1.013, allocations: 281.2 kB / 0.5829 GB, free: 103.6 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/1.02, allocations: 3.581 MB / 0.5864 GB, free: 102.2 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005408/1.025, allocations: 2.801 MB / 0.5892 GB, free: 100.3 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.025, allocations: 4 kB / 0.5892 GB, free: 100.3 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.025, allocations: 11.72 kB / 0.5892 GB, free: 100.3 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.045, allocations: 9.859 MB / 0.5988 GB, free: 90.75 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.045, allocations: 1.875 kB / 0.5988 GB, free: 90.75 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.047, allocations: 415.4 kB / 0.5992 GB, free: 90.35 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009597/1.048, allocations: 304.8 kB / 0.5995 GB, free: 90.05 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.049, allocations: 56.58 kB / 0.5995 GB, free: 89.99 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/1.055, allocations: 4.198 MB / 0.6036 GB, free: 85.66 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.055, allocations: 4 kB / 0.6036 GB, free: 85.66 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008915/1.064, allocations: 5.125 MB / 0.6087 GB, free: 80.5 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.065, allocations: 0.6103 MB / 0.6092 GB, free: 79.87 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/1.066, allocations: 42.86 kB / 0.6093 GB, free: 79.83 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.068, allocations: 135.8 kB / 0.6094 GB, free: 79.7 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.068, allocations: 144.3 kB / 0.6096 GB, free: 79.56 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.068, allocations: 63.98 kB / 0.6096 GB, free: 79.5 MB / 446.2 MB Notification: Performance of sorting global known variables: time 0.00378/1.072, allocations: 1.963 MB / 0.6115 GB, free: 77.52 MB / 446.2 MB Notification: Performance of sort global known variables: time 3.8e-07/1.072, allocations: 0 / 0.6115 GB, free: 77.52 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.007085/1.079, allocations: 1.962 MB / 0.6135 GB, free: 75.55 MB / 446.2 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.0005362/1.08, allocations: 209.1 kB / 0.6136 GB, free: 75.36 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.008981/1.089, allocations: 4.624 MB / 0.6182 GB, free: 70.73 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.089, allocations: 1.812 kB / 0.6182 GB, free: 70.73 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/1.092, allocations: 1.738 MB / 0.6199 GB, free: 68.98 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/1.096, allocations: 0.6918 MB / 0.6205 GB, free: 68.32 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/1.123, allocations: 13.2 MB / 0.6334 GB, free: 55.09 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006774/1.129, allocations: 5.645 MB / 0.6389 GB, free: 49.4 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 0.005396/1.135, allocations: 1.694 MB / 0.6406 GB, free: 47.7 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/1.136, allocations: 231.4 kB / 0.6408 GB, free: 47.47 MB / 446.2 MB Notification: Performance of SimCode: time 8.02e-07/1.136, allocations: 2.297 kB / 0.6408 GB, free: 47.47 MB / 446.2 MB Notification: Performance of Templates: time 0.06219/1.198, allocations: 38.18 MB / 0.6781 GB, free: 9.637 MB / 446.2 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 -s cvode -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