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.001401/0.001401, allocations: 101.3 kB / 21.93 MB, free: 5.203 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.001576/0.001576, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.419/1.419, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.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.002169/0.002169, allocations: 62.58 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3019, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006528/0.3084, allocations: 5.291 MB / 402.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.312, allocations: 1.631 MB / 404.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.3127, allocations: 56.41 kB / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.3133, allocations: 321.8 kB / 404.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3145, allocations: 381 kB / 405.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.3152, allocations: 363 kB / 405.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.3176, allocations: 2.017 MB / 407.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.3196, allocations: 1.523 MB / 409.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.3211, allocations: 1.056 MB / 410.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.3229, allocations: 1.15 MB / 411.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000496/0.3234, allocations: 310.3 kB / 411.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.3245, allocations: 458.8 kB / 412.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.3251, allocations: 0.7406 MB / 412.9 MB, free: 484 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.3266, allocations: 1.01 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.331, allocations: 3.814 MB / 417.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.331, allocations: 1.156 kB / 417.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3311, allocations: 0 / 417.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.726e-05/0.3311, allocations: 0 / 417.7 MB, free: 12.95 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.005816/0.337, allocations: 2.441 MB / 420.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/0.337, allocations: 16.92 kB / 420.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007601/0.3378, allocations: 249.9 kB / 420.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.3403, allocations: 1.124 MB / 421.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.3404, allocations: 168.5 kB / 421.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.3407, allocations: 221.1 kB / 421.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/0.3458, allocations: 2.615 MB / 424.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.3458, allocations: 4 kB / 424.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.3461, allocations: 95.98 kB / 424.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/0.3461, allocations: 56 kB / 424.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.35, allocations: 2.145 MB / 426.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.362, allocations: 6.379 MB / 433.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3631, allocations: 0.6859 MB / 433.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3642, allocations: 0.5946 MB / 434.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.3643, allocations: 8.5 kB / 434.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3643, allocations: 43 kB / 434.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.695e-06/0.3643, allocations: 0 / 434.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004592/0.3689, allocations: 2.383 MB / 436.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.369, allocations: 56.06 kB / 436.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3701, allocations: 0.7814 MB / 437.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.3701, allocations: 41.64 kB / 437.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/0.3709, allocations: 0.9479 MB / 438.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.3711, allocations: 238 kB / 439 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.3713, allocations: 150.6 kB / 439.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.3715, allocations: 386.8 kB / 439.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.3722, allocations: 369.8 kB / 439.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.373, allocations: 0.5829 MB / 440.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3744, allocations: 0.9833 MB / 441.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3744, allocations: 8 kB / 441.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002021/0.3764, allocations: 1.141 MB / 442.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3765, allocations: 8.531 kB / 442.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3765, allocations: 15.92 kB / 442.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.3768, allocations: 112.7 kB / 442.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.3775, allocations: 171.8 kB / 442.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.3799, allocations: 2.184 MB / 445 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.3805, allocations: 47.95 kB / 445.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.3805, allocations: 28 kB / 445.1 MB, free: 2.801 MB / 350.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.001072/0.3816, allocations: 0.6496 MB / 445.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.3818, allocations: 87.47 kB / 445.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.382, allocations: 95.38 kB / 445.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.382, allocations: 15.94 kB / 446 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.382, allocations: 4 kB / 446 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.382, allocations: 3.984 kB / 446 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.3862, allocations: 2.224 MB / 448.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3862, allocations: 4 kB / 448.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.3867, allocations: 107.8 kB / 448.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.3869, allocations: 100.9 kB / 448.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.3869, allocations: 15.98 kB / 448.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.3893, allocations: 2.121 MB / 450.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3893, allocations: 8 kB / 450.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.3915, allocations: 1.419 MB / 452 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.392, allocations: 151.5 kB / 452.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.3921, allocations: 16 kB / 452.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.3926, allocations: 44.08 kB / 452.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3927, allocations: 56.34 kB / 452.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.3928, allocations: 19.98 kB / 452.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008004/0.3936, allocations: 0.538 MB / 452.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3936, allocations: 0 / 452.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001484/0.3951, allocations: 304 kB / 453.1 MB, free: 10.62 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.0002662/0.3953, allocations: 139 kB / 453.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.3971, allocations: 0.9726 MB / 454.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3971, allocations: 0 / 454.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.398, allocations: 0.5401 MB / 454.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3991, allocations: 207.3 kB / 454.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.4049, allocations: 3.27 MB / 458.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.4062, allocations: 1.104 MB / 459.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.4065, allocations: 63.42 kB / 459.4 MB, free: 4.207 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4065, allocations: 3.938 kB / 459.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of Templates: time 0.04043/0.4469, allocations: 29.26 MB / 488.6 MB, free: 6.887 MB / 398.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 -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: 10.487025090958923]