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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00189/0.00189, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002318/0.002318, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.078e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01779/0.01781, allocations: 14.27 MB / 339.3 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009831/0.02764, allocations: 4.041 MB / 343.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.03042, allocations: 159.2 kB / 343.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.04806, allocations: 7.339 MB / 350.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.05427, allocations: 1.37 MB / 352.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.05784, allocations: 1.23 MB / 353.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.06896, allocations: 8.577 MB / 362 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0236/0.09256, allocations: 14.26 MB / 376.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/0.1051, allocations: 7.322 MB / 383.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008547/0.1136, allocations: 4.635 MB / 388.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00379/0.1174, allocations: 1.383 MB / 389.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005942/0.1233, allocations: 1.66 MB / 391.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004606/0.1279, allocations: 2.626 MB / 393.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008246/0.1362, allocations: 3.486 MB / 397.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02472/0.1609, allocations: 18.53 MB / 415.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1609, allocations: 0 / 415.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1609, allocations: 0 / 415.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004468/0.1614, allocations: 0 / 415.9 MB, free: 9.797 MB / 382.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.02926/0.1906, allocations: 10.47 MB / 426.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1907, allocations: 11.98 kB / 426.4 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01971/0.2104, allocations: 3.718 MB / 430.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.2217, allocations: 5.425 MB / 435.5 MB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006294/0.2224, allocations: 0.6789 MB / 436.2 MB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/0.225, allocations: 0.8945 MB / 437.1 MB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/0.2569, allocations: 12.81 MB / 449.9 MB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/0.2571, allocations: 11.94 kB / 449.9 MB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.2583, allocations: 376 kB / 450.3 MB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/0.2587, allocations: 399.1 kB / 450.7 MB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/0.2824, allocations: 11.4 MB / 462.1 MB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3652/0.6476, allocations: 37.39 MB / 499.5 MB, free: 96.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/0.6555, allocations: 4.162 MB / 0.4918 GB, free: 94.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.6573, allocations: 1.535 MB / 0.4933 GB, free: 93.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.6575, allocations: 79.33 kB / 0.4934 GB, free: 93.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6576, allocations: 59.94 kB / 0.4935 GB, free: 93.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=223): time 4.749e-06/0.6576, allocations: 0 / 0.4935 GB, free: 93.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.00821/0.6658, allocations: 4.592 MB / 0.498 GB, free: 91.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.6658, allocations: 79.41 kB / 0.498 GB, free: 91.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.6705, allocations: 3.04 MB / 0.501 GB, free: 89.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.6707, allocations: 60.67 kB / 0.5011 GB, free: 89.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.6724, allocations: 3.966 MB / 0.5049 GB, free: 87.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.6729, allocations: 0.8163 MB / 0.5057 GB, free: 86.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.6742, allocations: 0.9541 MB / 0.5067 GB, free: 85.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.6742, allocations: 301.1 kB / 0.5069 GB, free: 85.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.6766, allocations: 1.978 MB / 0.5089 GB, free: 84.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.6798, allocations: 4.166 MB / 0.5129 GB, free: 79.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.6855, allocations: 6.513 MB / 0.5193 GB, free: 72.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.006e-05/0.6855, allocations: 24 kB / 0.5193 GB, free: 72.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008928/0.6945, allocations: 6.52 MB / 0.5257 GB, free: 65.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.6945, allocations: 36 kB / 0.5257 GB, free: 65.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.159e-05/0.6946, allocations: 79.98 kB / 0.5258 GB, free: 65.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/0.6954, allocations: 408.7 kB / 0.5262 GB, free: 65.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/0.6985, allocations: 1.065 MB / 0.5272 GB, free: 64.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.7025, allocations: 4.185 MB / 0.5313 GB, free: 59.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.7057, allocations: 0.6247 MB / 0.5319 GB, free: 59.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004537/0.7061, allocations: 260 kB / 0.5322 GB, free: 59 MB / 430.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.00428/0.7104, allocations: 3.365 MB / 0.5355 GB, free: 55.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.711, allocations: 286.2 kB / 0.5357 GB, free: 55.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.716, allocations: 3.58 MB / 0.5392 GB, free: 51.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003409/0.7194, allocations: 2.807 MB / 0.542 GB, free: 48.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.7194, allocations: 4 kB / 0.542 GB, free: 48.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.7194, allocations: 7.969 kB / 0.542 GB, free: 48.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.7322, allocations: 8.019 MB / 0.5498 GB, free: 40.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.7322, allocations: 4 kB / 0.5498 GB, free: 40.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.7337, allocations: 415.4 kB / 0.5502 GB, free: 40.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.7344, allocations: 312.7 kB / 0.5505 GB, free: 40.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.7345, allocations: 51.97 kB / 0.5506 GB, free: 40.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/0.7383, allocations: 4.004 MB / 0.5545 GB, free: 36.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7383, allocations: 0 / 0.5545 GB, free: 36.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/0.7443, allocations: 5.136 MB / 0.5595 GB, free: 30.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.7454, allocations: 0.5561 MB / 0.56 GB, free: 30.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.7459, allocations: 36 kB / 0.5601 GB, free: 30.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.7472, allocations: 131.8 kB / 0.5602 GB, free: 30.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.7475, allocations: 153.7 kB / 0.5603 GB, free: 29.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.7476, allocations: 67.98 kB / 0.5604 GB, free: 29.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002602/0.7502, allocations: 1.943 MB / 0.5623 GB, free: 27.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7502, allocations: 0 / 0.5623 GB, free: 27.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0044/0.7546, allocations: 1.992 MB / 0.5642 GB, free: 25.95 MB / 430.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.0004301/0.7551, allocations: 216.9 kB / 0.5645 GB, free: 25.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.7607, allocations: 4.431 MB / 0.5688 GB, free: 21.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7608, allocations: 4 kB / 0.5688 GB, free: 21.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.7627, allocations: 1.626 MB / 0.5704 GB, free: 19.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.7659, allocations: 0.6748 MB / 0.571 GB, free: 19.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.7872, allocations: 13.47 MB / 0.5842 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005832/0.7931, allocations: 5.172 MB / 0.5892 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004371/0.7974, allocations: 1.694 MB / 0.5909 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008636/0.7983, allocations: 240.5 kB / 0.5911 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7983, allocations: 0 / 0.5911 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Templates: time 0.08218/0.8805, allocations: 38.62 MB / 0.6288 GB, free: 8.078 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.69268236681819]