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.001157/0.001157, allocations: 112.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 214.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2241, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01632/0.2404, allocations: 16.51 MB / 426.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007793/0.2482, allocations: 4.145 MB / 430.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.2506, allocations: 135.6 kB / 430.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01493/0.2655, allocations: 7.435 MB / 438.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.2699, allocations: 1.312 MB / 439.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.2729, allocations: 1.247 MB / 440.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008269/0.2812, allocations: 8.246 MB / 449 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02901/0.3102, allocations: 22.52 MB / 471.5 MB, free: 3.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.3159, allocations: 4.824 MB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006729/0.3227, allocations: 5.322 MB / 481.6 MB, free: 9.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.3249, allocations: 1.383 MB / 483 MB, free: 8.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.3283, allocations: 1.668 MB / 484.7 MB, free: 6.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.3305, allocations: 2.576 MB / 487.3 MB, free: 3.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006031/0.3366, allocations: 5.218 MB / 492.5 MB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.3519, allocations: 18.31 MB / 0.4988 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3519, allocations: 0 / 0.4988 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3519, allocations: 0 / 0.4988 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.3523, allocations: 0 / 0.4988 GB, free: 12.26 MB / 430.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.02971/0.3821, allocations: 10.44 MB / 0.509 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3821, allocations: 8.031 kB / 0.509 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02005/0.4022, allocations: 3.744 MB / 0.5127 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.4141, allocations: 5.363 MB / 0.5179 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006141/0.4148, allocations: 0.6824 MB / 0.5186 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002754/0.4175, allocations: 0.8905 MB / 0.5195 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03189/0.4494, allocations: 12.72 MB / 0.5319 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004319/0.4499, allocations: 4 kB / 0.5319 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002599/0.4525, allocations: 376 kB / 0.5322 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/0.453, allocations: 403.1 kB / 0.5326 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3727/0.8257, allocations: 11.4 MB / 0.5438 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04524/0.871, allocations: 43.58 MB / 0.5863 GB, free: 80.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007564/0.8786, allocations: 10.49 MB / 0.5966 GB, free: 68.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.8803, allocations: 1.675 MB / 0.5982 GB, free: 67.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.8806, allocations: 225.8 kB / 0.5984 GB, free: 66.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.8806, allocations: 56 kB / 0.5985 GB, free: 66.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.448e-06/0.8806, allocations: 0 / 0.5985 GB, free: 66.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006962/0.8876, allocations: 4.655 MB / 0.603 GB, free: 62.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.8876, allocations: 77.41 kB / 0.6031 GB, free: 62.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.8907, allocations: 2.93 MB / 0.606 GB, free: 59.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.8908, allocations: 61.7 kB / 0.606 GB, free: 59.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.8921, allocations: 3.83 MB / 0.6098 GB, free: 55.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.8925, allocations: 0.7872 MB / 0.6105 GB, free: 54.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009665/0.8935, allocations: 0.952 MB / 0.6115 GB, free: 53.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.8935, allocations: 309.1 kB / 0.6117 GB, free: 53.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.8956, allocations: 1.969 MB / 0.6137 GB, free: 51.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.8984, allocations: 4.153 MB / 0.6177 GB, free: 45.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/0.9035, allocations: 6.513 MB / 0.6241 GB, free: 38.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.521e-05/0.9035, allocations: 20 kB / 0.6241 GB, free: 38.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007486/0.911, allocations: 6.503 MB / 0.6305 GB, free: 31.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.9111, allocations: 36 kB / 0.6305 GB, free: 31.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.589e-05/0.9112, allocations: 76 kB / 0.6306 GB, free: 31.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/0.9119, allocations: 412.7 kB / 0.631 GB, free: 31.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.9147, allocations: 1.072 MB / 0.632 GB, free: 30.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.9186, allocations: 4.374 MB / 0.6363 GB, free: 25.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.9212, allocations: 0.627 MB / 0.6369 GB, free: 25.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.9215, allocations: 244 kB / 0.6371 GB, free: 24.9 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.003609/0.9251, allocations: 3.372 MB / 0.6404 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.9256, allocations: 272.6 kB / 0.6407 GB, free: 21.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.93, allocations: 3.584 MB / 0.6442 GB, free: 17.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.93, allocations: 11.91 kB / 0.6442 GB, free: 17.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.93, allocations: 0 / 0.6442 GB, free: 17.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009488/0.931, allocations: 0.6026 MB / 0.6448 GB, free: 16.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.9312, allocations: 39.91 kB / 0.6448 GB, free: 16.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009424/0.9322, allocations: 131.8 kB / 0.6449 GB, free: 16.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.9324, allocations: 153.8 kB / 0.6451 GB, free: 16.67 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004268/0.9367, allocations: 3.303 MB / 0.6483 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00466/0.9414, allocations: 4.57 MB / 0.6528 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001263/0.9426, allocations: 1.347 MB / 0.6541 GB, free: 7.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002211/0.9449, allocations: 1.959 MB / 0.656 GB, free: 5.496 MB / 462.1 MB Notification: Performance of Backend: time 3.8e-07/0.9449, allocations: 0 / 0.656 GB, free: 5.496 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005256/0.9501, allocations: 3.693 MB / 0.6596 GB, free: 1.812 MB / 462.1 MB Notification: Performance of SimCode: time 0.02159/0.9717, allocations: 13.19 MB / 0.6725 GB, free: 4.57 MB / 478.1 MB Notification: Performance of Templates: time 0.08857/1.06, allocations: 49.8 MB / 0.7211 GB, free: 2.941 MB / 0.5138 GB 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/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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches