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.001703/0.001703, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.002084/0.002084, allocations: 213.9 kB / 24.49 MB, free: 4.145 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.0015/0.0015, allocations: 43.92 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2316, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007834/0.2395, allocations: 6.074 MB / 438.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.2436, allocations: 1.705 MB / 440.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.245, allocations: 63.62 kB / 440.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.2461, allocations: 313.5 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.2479, allocations: 397.4 kB / 440.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.2489, allocations: 359.5 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.2515, allocations: 2.013 MB / 443.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.254, allocations: 1.603 MB / 444.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.2554, allocations: 1.071 MB / 446 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.2571, allocations: 1.226 MB / 447.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.2575, allocations: 308 kB / 447.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008084/0.2583, allocations: 0.5152 MB / 448 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.2589, allocations: 0.7363 MB / 448.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.2603, allocations: 1.264 MB / 450 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.2644, allocations: 3.808 MB / 453.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2644, allocations: 0 / 453.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.2644, allocations: 4 kB / 453.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.98e-05/0.2644, allocations: 4 kB / 453.8 MB, free: 1.406 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.004588/0.269, allocations: 2.446 MB / 456.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2691, allocations: 8.031 kB / 456.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/0.2698, allocations: 283.4 kB / 456.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.2722, allocations: 1.273 MB / 457.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.2724, allocations: 172.8 kB / 458 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.2727, allocations: 220.1 kB / 458.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.277, allocations: 2.545 MB / 460.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.2771, allocations: 4 kB / 460.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.2773, allocations: 88 kB / 460.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/0.2773, allocations: 56 kB / 460.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.281, allocations: 2.141 MB / 463 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.2926, allocations: 7.354 MB / 470.4 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.2937, allocations: 0.7062 MB / 471.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2948, allocations: 0.5868 MB / 471.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.2948, allocations: 8.5 kB / 471.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.2949, allocations: 50.98 kB / 471.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.845e-06/0.2949, allocations: 0 / 471.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004086/0.2989, allocations: 2.375 MB / 474.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.299, allocations: 64.05 kB / 474.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.3, allocations: 0.8012 MB / 475 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.3001, allocations: 33.7 kB / 475 MB, free: 11.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/0.3008, allocations: 0.948 MB / 476 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.301, allocations: 234 kB / 476.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.3012, allocations: 146.6 kB / 476.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3014, allocations: 398.8 kB / 476.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.302, allocations: 357.8 kB / 477.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.3027, allocations: 0.579 MB / 477.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3041, allocations: 0.9911 MB / 478.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.3041, allocations: 0 / 478.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00188/0.306, allocations: 1.158 MB / 479.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.306, allocations: 11.94 kB / 479.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.306, allocations: 12.06 kB / 479.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.3063, allocations: 108.7 kB / 479.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.307, allocations: 175.7 kB / 480.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.3094, allocations: 2.218 MB / 482.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.3099, allocations: 40.03 kB / 482.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/0.31, allocations: 39.94 kB / 482.4 MB, free: 4.031 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.001087/0.3111, allocations: 0.6496 MB / 483.1 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.3113, allocations: 91.38 kB / 483.1 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.3115, allocations: 99.69 kB / 483.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.3115, allocations: 8 kB / 483.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.3115, allocations: 7.984 kB / 483.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3115, allocations: 0 / 483.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.3161, allocations: 2.633 MB / 485.9 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.3161, allocations: 7.938 kB / 485.9 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.3166, allocations: 103.9 kB / 486 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.3168, allocations: 100.9 kB / 486.1 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.3169, allocations: 16 kB / 486.1 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.3192, allocations: 2.175 MB / 488.3 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3192, allocations: 0 / 488.3 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.3214, allocations: 1.427 MB / 489.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.3219, allocations: 147.4 kB / 489.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.322, allocations: 16.06 kB / 489.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.3225, allocations: 47.89 kB / 489.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3226, allocations: 48.41 kB / 490 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.3227, allocations: 20.05 kB / 490 MB, free: 12.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008742/0.3236, allocations: 0.5692 MB / 490.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3236, allocations: 0 / 490.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001169/0.3247, allocations: 300.1 kB / 490.9 MB, free: 11.34 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.0002717/0.325, allocations: 139.1 kB / 491 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.3268, allocations: 0.9647 MB / 492 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3268, allocations: 3.938 kB / 492 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.3277, allocations: 0.5446 MB / 492.5 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3288, allocations: 211.5 kB / 492.7 MB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.335, allocations: 3.274 MB / 496 MB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.3366, allocations: 1.684 MB / 497.7 MB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.3369, allocations: 67.42 kB / 497.7 MB, free: 4.352 MB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3369, allocations: 4 kB / 497.7 MB, free: 4.348 MB / 398.1 MB Notification: Performance of Templates: time 0.04676/0.3837, allocations: 28.8 MB / 0.5142 GB, free: 7.602 MB / 430.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 -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: 9.813992968993261]