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.001096/0.001096, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2245, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0166/0.2411, allocations: 16.5 MB / 426.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.2487, allocations: 4.142 MB / 430.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.2504, allocations: 139.6 kB / 430.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01468/0.2651, allocations: 7.458 MB / 438.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.2695, allocations: 1.324 MB / 439.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.2722, allocations: 1.247 MB / 440.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007708/0.2799, allocations: 8.257 MB / 449 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03021/0.3102, allocations: 22.51 MB / 471.5 MB, free: 3.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005742/0.3159, allocations: 4.82 MB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007249/0.3232, allocations: 5.326 MB / 481.7 MB, free: 9.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002649/0.3259, allocations: 1.383 MB / 483.1 MB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.3296, allocations: 1.656 MB / 484.7 MB, free: 6.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.332, allocations: 2.592 MB / 487.3 MB, free: 3.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006106/0.3381, allocations: 5.218 MB / 492.5 MB, free: 14.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.3539, allocations: 18.31 MB / 0.4989 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.354, allocations: 4 kB / 0.4989 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.354, allocations: 0 / 0.4989 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004023/0.3544, allocations: 0 / 0.4989 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.02791/0.3823, allocations: 10.44 MB / 0.5091 GB, free: 1.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3824, allocations: 8.031 kB / 0.5091 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/0.402, allocations: 3.752 MB / 0.5127 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.4124, allocations: 5.363 MB / 0.518 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000599/0.413, allocations: 0.6785 MB / 0.5186 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.4157, allocations: 0.8905 MB / 0.5195 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03069/0.4464, allocations: 12.71 MB / 0.5319 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/0.4467, allocations: 4 kB / 0.5319 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002162/0.4489, allocations: 380 kB / 0.5323 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003808/0.4493, allocations: 403 kB / 0.5327 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3567/0.806, allocations: 11.4 MB / 0.5438 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05124/0.8573, allocations: 43.59 MB / 0.5864 GB, free: 80.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/0.8652, allocations: 10.49 MB / 0.5966 GB, free: 68.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.8671, allocations: 1.675 MB / 0.5982 GB, free: 67.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.8673, allocations: 216.9 kB / 0.5984 GB, free: 66.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.8674, allocations: 56.56 kB / 0.5985 GB, free: 66.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.018e-06/0.8674, allocations: 3.938 kB / 0.5985 GB, free: 66.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007072/0.8745, allocations: 4.664 MB / 0.6031 GB, free: 62.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.8745, allocations: 73.41 kB / 0.6031 GB, free: 62.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.878, allocations: 2.926 MB / 0.606 GB, free: 59.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.8781, allocations: 61.7 kB / 0.606 GB, free: 59.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.8794, allocations: 3.83 MB / 0.6098 GB, free: 55.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.8799, allocations: 0.7885 MB / 0.6106 GB, free: 54.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.881, allocations: 0.952 MB / 0.6115 GB, free: 53.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.8811, allocations: 305.1 kB / 0.6118 GB, free: 53.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/0.8834, allocations: 1.973 MB / 0.6137 GB, free: 51.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.8864, allocations: 4.153 MB / 0.6178 GB, free: 45.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005334/0.8918, allocations: 6.517 MB / 0.6241 GB, free: 38.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/0.8918, allocations: 24 kB / 0.6241 GB, free: 38.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007929/0.8998, allocations: 6.491 MB / 0.6305 GB, free: 31.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.8998, allocations: 43.94 kB / 0.6305 GB, free: 31.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.98e-05/0.8999, allocations: 72 kB / 0.6306 GB, free: 31.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007615/0.9007, allocations: 420.7 kB / 0.631 GB, free: 31.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.9036, allocations: 1.061 MB / 0.632 GB, free: 30.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/0.9075, allocations: 4.381 MB / 0.6363 GB, free: 25.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.9102, allocations: 0.6231 MB / 0.6369 GB, free: 25.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.9105, allocations: 244 kB / 0.6371 GB, free: 24.92 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.003755/0.9143, allocations: 3.38 MB / 0.6405 GB, free: 21.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.9148, allocations: 268.6 kB / 0.6407 GB, free: 21.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.9194, allocations: 3.584 MB / 0.6442 GB, free: 17.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.9194, allocations: 15.95 kB / 0.6442 GB, free: 17.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9194, allocations: 0 / 0.6442 GB, free: 17.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.9205, allocations: 0.5987 MB / 0.6448 GB, free: 17.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/0.9208, allocations: 39.91 kB / 0.6448 GB, free: 16.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.9219, allocations: 139.8 kB / 0.645 GB, free: 16.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.9222, allocations: 145.8 kB / 0.6451 GB, free: 16.69 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004401/0.9266, allocations: 3.307 MB / 0.6483 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00469/0.9313, allocations: 4.562 MB / 0.6528 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001308/0.9326, allocations: 1.351 MB / 0.6541 GB, free: 7.473 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.9349, allocations: 1.963 MB / 0.656 GB, free: 5.5 MB / 462.1 MB Notification: Performance of Backend: time 3.9e-07/0.9349, allocations: 0 / 0.656 GB, free: 5.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005259/0.9401, allocations: 3.697 MB / 0.6596 GB, free: 1.812 MB / 462.1 MB Notification: Performance of SimCode: time 0.02237/0.9625, allocations: 13.18 MB / 0.6725 GB, free: 4.578 MB / 478.1 MB Notification: Performance of Templates: time 0.08428/1.047, allocations: 49.8 MB / 0.7212 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