Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2131, allocations: 53.38 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007305/0.2204, allocations: 5.351 MB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.2235, allocations: 1.631 MB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.2239, allocations: 67.62 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.2245, allocations: 325.4 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.2255, allocations: 385.5 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.2262, allocations: 363.5 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.2281, allocations: 2.009 MB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.2301, allocations: 1.607 MB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.2312, allocations: 1.075 MB / 445.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.2327, allocations: 1.222 MB / 446.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.233, allocations: 308 kB / 446.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007331/0.2338, allocations: 471.6 kB / 447.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006516/0.2344, allocations: 0.7325 MB / 447.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.2355, allocations: 1.019 MB / 448.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.2391, allocations: 3.822 MB / 452.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2391, allocations: 4 kB / 452.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2391, allocations: 0 / 452.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.2392, allocations: 0 / 452.7 MB, free: 2.223 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004251/0.2434, allocations: 2.446 MB / 455.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2435, allocations: 12.03 kB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/0.2443, allocations: 275.4 kB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.2467, allocations: 1.281 MB / 456.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.2469, allocations: 168.9 kB / 456.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.2472, allocations: 220.1 kB / 457.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/0.2515, allocations: 2.617 MB / 459.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.2516, allocations: 4 kB / 459.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.2518, allocations: 92 kB / 459.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/0.2518, allocations: 56 kB / 459.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003507/0.2553, allocations: 2.137 MB / 462 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.2672, allocations: 6.387 MB / 468.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.2689, allocations: 0.6986 MB / 469.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.2705, allocations: 0.5868 MB / 469.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.2706, allocations: 8.5 kB / 469.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.2706, allocations: 43.06 kB / 469.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.607e-06/0.2706, allocations: 4 kB / 469.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.006171/0.2768, allocations: 2.375 MB / 472.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2769, allocations: 64.06 kB / 472.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.2785, allocations: 0.7892 MB / 472.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.2786, allocations: 33.7 kB / 473 MB, free: 13.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/0.2796, allocations: 0.9557 MB / 473.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.2799, allocations: 234 kB / 474.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.2802, allocations: 146.6 kB / 474.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.2805, allocations: 390.8 kB / 474.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.2813, allocations: 361.8 kB / 475 MB, free: 11.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.2824, allocations: 0.5752 MB / 475.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.2845, allocations: 0.9872 MB / 476.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.2845, allocations: 4 kB / 476.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002413/0.2869, allocations: 1.161 MB / 477.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2869, allocations: 8 kB / 477.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.287, allocations: 11.94 kB / 477.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.2873, allocations: 108.8 kB / 477.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.288, allocations: 175.8 kB / 478.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.2904, allocations: 2.18 MB / 480.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.2909, allocations: 35.98 kB / 480.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/0.291, allocations: 31.98 kB / 480.3 MB, free: 5.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.292, allocations: 0.6536 MB / 481 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.2922, allocations: 83.48 kB / 481 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.2924, allocations: 99.47 kB / 481.1 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/0.2924, allocations: 15.92 kB / 481.1 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.2924, allocations: 0 / 481.1 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2924, allocations: 0 / 481.1 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.2965, allocations: 2.228 MB / 483.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2965, allocations: 3.938 kB / 483.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.297, allocations: 112 kB / 483.5 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/0.2973, allocations: 100.7 kB / 483.6 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.2973, allocations: 12 kB / 483.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.2995, allocations: 2.125 MB / 485.7 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2995, allocations: 4.078 kB / 485.7 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.3017, allocations: 1.415 MB / 487.1 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.3021, allocations: 155.4 kB / 487.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/0.3022, allocations: 20.12 kB / 487.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.3026, allocations: 43.95 kB / 487.4 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3027, allocations: 52.28 kB / 487.4 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.3028, allocations: 20 kB / 487.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007044/0.3035, allocations: 0.5419 MB / 488 MB, free: 13.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3035, allocations: 0 / 488 MB, free: 13.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009947/0.3045, allocations: 303.9 kB / 488.3 MB, free: 13.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/0.3047, allocations: 141.3 kB / 488.4 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3064, allocations: 0.9683 MB / 489.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3064, allocations: 0 / 489.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.3072, allocations: 0.5363 MB / 489.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3083, allocations: 211.7 kB / 490.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.3134, allocations: 3.29 MB / 493.4 MB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.3148, allocations: 1.148 MB / 494.6 MB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005254/0.3153, allocations: 210.9 kB / 494.8 MB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.3155, allocations: 59.42 kB / 494.8 MB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3155, allocations: 0 / 494.8 MB, free: 6.961 MB / 398.1 MB Notification: Performance of Templates: time 0.02637/0.3418, allocations: 14.52 MB / 0.4974 GB, free: 8.684 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.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: 4.623541731009027]