Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001984/0.001984, allocations: 87.23 kB / 22 MB, free: 5.191 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.002389/0.002389, allocations: 157.8 kB / 25.24 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 158.6 MB / 187 MB, free: 6.266 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 59.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2112, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007345/0.2186, allocations: 5.278 MB / 353.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.2218, allocations: 1.64 MB / 355.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.2222, allocations: 51.62 kB / 355.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.2228, allocations: 317.5 kB / 355.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2239, allocations: 389.4 kB / 356.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.2246, allocations: 355.5 kB / 356.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.2267, allocations: 2.028 MB / 358.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.2286, allocations: 1.516 MB / 360.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.2298, allocations: 1.056 MB / 361.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.2314, allocations: 1.152 MB / 362.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.2318, allocations: 308 kB / 362.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008131/0.2326, allocations: 459.6 kB / 363 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006897/0.2333, allocations: 0.7286 MB / 363.7 MB, free: 192 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.2344, allocations: 1.027 MB / 364.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.2382, allocations: 3.81 MB / 368.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2382, allocations: 0 / 368.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2382, allocations: 0 / 368.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.32e-05/0.2383, allocations: 3.984 kB / 368.6 MB, free: 11.33 MB / 334.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.00442/0.2427, allocations: 2.435 MB / 371 MB, free: 8.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2428, allocations: 15.98 kB / 371 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.2433, allocations: 251.4 kB / 371.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.2454, allocations: 1.125 MB / 372.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.2456, allocations: 168.9 kB / 372.6 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.2459, allocations: 228.1 kB / 372.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/0.2503, allocations: 2.617 MB / 375.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.2504, allocations: 0 / 375.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.2505, allocations: 95.98 kB / 375.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.936e-05/0.2506, allocations: 60 kB / 375.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.2543, allocations: 2.134 MB / 377.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.2655, allocations: 6.395 MB / 384.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.2666, allocations: 0.6902 MB / 384.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.2678, allocations: 0.5911 MB / 385.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.2678, allocations: 8.5 kB / 385.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.2679, allocations: 47 kB / 385.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 4.819e-06/0.2679, allocations: 3.984 kB / 385.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004484/0.2724, allocations: 2.387 MB / 387.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.2724, allocations: 56.06 kB / 387.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2736, allocations: 0.7814 MB / 388.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.2736, allocations: 37.7 kB / 388.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000738/0.2744, allocations: 0.9479 MB / 389.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.2746, allocations: 230 kB / 389.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.2748, allocations: 150.6 kB / 390 MB, free: 5.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.275, allocations: 390.8 kB / 390.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.2757, allocations: 361.8 kB / 390.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/0.2765, allocations: 0.5869 MB / 391.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.278, allocations: 0.9833 MB / 392.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.278, allocations: 4 kB / 392.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002073/0.2801, allocations: 1.149 MB / 393.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.2801, allocations: 8 kB / 393.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.2801, allocations: 8 kB / 393.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.2805, allocations: 120.9 kB / 393.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.2812, allocations: 175.8 kB / 393.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.2837, allocations: 2.184 MB / 396 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.2843, allocations: 35.97 kB / 396 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.2844, allocations: 36 kB / 396 MB, free: 15.09 MB / 366.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.001024/0.2854, allocations: 0.6457 MB / 396.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.2856, allocations: 87.42 kB / 396.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2858, allocations: 99.3 kB / 396.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.2858, allocations: 11.94 kB / 396.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2858, allocations: 4.062 kB / 396.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2858, allocations: 7.984 kB / 396.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/0.2902, allocations: 2.224 MB / 399.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.2902, allocations: 4 kB / 399.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.2907, allocations: 111.8 kB / 399.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.2909, allocations: 96.94 kB / 399.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.291, allocations: 16 kB / 399.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.2933, allocations: 2.125 MB / 401.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2933, allocations: 3.984 kB / 401.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.2956, allocations: 1.427 MB / 402.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.296, allocations: 151.4 kB / 403 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2962, allocations: 12 kB / 403 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.2966, allocations: 44.02 kB / 403.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.2967, allocations: 56.34 kB / 403.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.2968, allocations: 16 kB / 403.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007949/0.2976, allocations: 0.5419 MB / 403.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2976, allocations: 0 / 403.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001067/0.2986, allocations: 296 kB / 404 MB, free: 6.914 MB / 366.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.000289/0.2989, allocations: 131 kB / 404.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.3007, allocations: 0.9725 MB / 405.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3007, allocations: 192 / 405.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.3017, allocations: 0.5557 MB / 405.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3027, allocations: 211.1 kB / 405.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.309, allocations: 3.289 MB / 409.1 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.3106, allocations: 1.136 MB / 410.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005445/0.3111, allocations: 202.9 kB / 410.5 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3113, allocations: 56.5 kB / 410.5 MB, free: 248 kB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3113, allocations: 0 / 410.5 MB, free: 248 kB / 366.1 MB Notification: Performance of Templates: time 0.02433/0.3356, allocations: 12.3 MB / 422.8 MB, free: 3.922 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.651467602932826]