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.001314/0.001314, allocations: 114.7 kB / 19.17 MB, free: 3.891 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.001385/0.001385, allocations: 202.6 kB / 22.13 MB, free: 0.9414 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.498/1.498, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.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 0.001826/0.001826, allocations: 63.89 kB / 374.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1057, allocations: 53.32 MB / 427.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2384/0.3441, allocations: 16.57 MB / 444.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009375/0.3535, allocations: 4.151 MB / 448.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.3573, allocations: 162.1 kB / 448.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01759/0.3749, allocations: 7.496 MB / 456.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006973/0.3819, allocations: 1.34 MB / 457.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.3865, allocations: 1.242 MB / 458.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.3995, allocations: 8.253 MB / 467.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03441/0.4339, allocations: 17.33 MB / 484.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008117/0.442, allocations: 4.91 MB / 489.4 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009012/0.451, allocations: 5.346 MB / 494.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003118/0.4541, allocations: 1.379 MB / 496.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005005/0.4591, allocations: 1.668 MB / 497.7 MB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003284/0.4624, allocations: 2.584 MB / 0.4886 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008901/0.4713, allocations: 5.218 MB / 0.4937 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0229/0.4942, allocations: 18.36 MB / 0.5116 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4942, allocations: 0 / 0.5116 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4942, allocations: 0 / 0.5116 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004581/0.4947, allocations: 0 / 0.5116 GB, free: 0.6094 MB / 414.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.03393/0.5286, allocations: 10.64 MB / 0.522 GB, free: 5.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5287, allocations: 8.031 kB / 0.522 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.5499, allocations: 3.706 MB / 0.5256 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.5618, allocations: 5.38 MB / 0.5309 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008065/0.5626, allocations: 0.6824 MB / 0.5316 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003336/0.5659, allocations: 0.8906 MB / 0.5324 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/0.601, allocations: 12.73 MB / 0.5449 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/0.6013, allocations: 7.953 kB / 0.5449 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003091/0.6044, allocations: 376 kB / 0.5452 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004449/0.6049, allocations: 403.1 kB / 0.5456 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/0.6335, allocations: 11.43 MB / 0.5568 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08748/0.721, allocations: 43.71 MB / 0.5995 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.7346, allocations: 10.29 MB / 0.6095 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.7376, allocations: 1.53 MB / 0.611 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004146/0.738, allocations: 236.1 kB / 0.6112 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/0.7381, allocations: 60.5 kB / 0.6113 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.509e-06/0.7381, allocations: 0 / 0.6113 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.01073/0.7488, allocations: 4.684 MB / 0.6159 GB, free: 3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.7489, allocations: 77.41 kB / 0.6159 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3843/1.133, allocations: 2.925 MB / 0.6188 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003684/1.134, allocations: 60.98 kB / 0.6188 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/1.136, allocations: 3.979 MB / 0.6227 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007189/1.137, allocations: 0.8283 MB / 0.6235 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/1.138, allocations: 0.9598 MB / 0.6245 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/1.138, allocations: 302.5 kB / 0.6248 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.141, allocations: 1.979 MB / 0.6267 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/1.145, allocations: 4.159 MB / 0.6308 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/1.153, allocations: 6.525 MB / 0.6371 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/1.153, allocations: 21.06 kB / 0.6372 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01126/1.164, allocations: 6.52 MB / 0.6435 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/1.165, allocations: 37.73 kB / 0.6436 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.165, allocations: 77 kB / 0.6436 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009391/1.166, allocations: 407.8 kB / 0.644 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/1.169, allocations: 1.068 MB / 0.6451 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/1.174, allocations: 4.38 MB / 0.6493 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/1.177, allocations: 0.6375 MB / 0.65 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/1.178, allocations: 248.5 kB / 0.6502 GB, free: 134.8 MB / 0.5138 GB 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.004522/1.182, allocations: 3.368 MB / 0.6535 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005736/1.183, allocations: 284.2 kB / 0.6538 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005218/1.188, allocations: 3.578 MB / 0.6573 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003524/1.191, allocations: 2.817 MB / 0.66 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.191, allocations: 3.969 kB / 0.66 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/1.191, allocations: 10.5 kB / 0.66 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.205, allocations: 9.864 MB / 0.6697 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.205, allocations: 3.719 kB / 0.6697 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/1.206, allocations: 415.2 kB / 0.6701 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000657/1.207, allocations: 309.4 kB / 0.6703 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.207, allocations: 55.25 kB / 0.6704 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/1.211, allocations: 4.203 MB / 0.6745 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.211, allocations: 9.812 kB / 0.6745 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/1.217, allocations: 5.148 MB / 0.6795 GB, free: 120 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.218, allocations: 0.6166 MB / 0.6801 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/1.218, allocations: 36 kB / 0.6802 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.219, allocations: 139.9 kB / 0.6803 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/1.22, allocations: 153.7 kB / 0.6805 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.22, allocations: 63.98 kB / 0.6805 GB, free: 119 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002382/1.222, allocations: 1.967 MB / 0.6824 GB, free: 117 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/1.222, allocations: 0 / 0.6824 GB, free: 117 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004947/1.227, allocations: 1.988 MB / 0.6844 GB, free: 115 MB / 0.5138 GB 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.0004411/1.228, allocations: 212.5 kB / 0.6846 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005934/1.234, allocations: 4.434 MB / 0.6889 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.234, allocations: 0 / 0.6889 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/1.236, allocations: 1.624 MB / 0.6905 GB, free: 108.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.239, allocations: 0.6786 MB / 0.6912 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.262, allocations: 13.1 MB / 0.704 GB, free: 94.99 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004729/1.266, allocations: 5.482 MB / 0.7093 GB, free: 89.46 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009735/1.267, allocations: 283.4 kB / 0.7096 GB, free: 89.19 MB / 0.5138 GB Notification: Performance of SimCode: time 1.092e-06/1.267, allocations: 0 / 0.7096 GB, free: 89.19 MB / 0.5138 GB Notification: Performance of Templates: time 0.3561/1.623, allocations: 133.4 MB / 0.8399 GB, free: 167.9 MB / 0.545 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.960054802009836]