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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 109.4 kB / 18.4 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 185.2 kB / 19.33 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/0.07631, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.1634/0.2397, allocations: 5.954 MB / 381.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.2427, allocations: 1.686 MB / 383.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.2435, allocations: 42.06 kB / 383.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.2441, allocations: 304.9 kB / 383.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2452, allocations: 366.4 kB / 384.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.2459, allocations: 357.3 kB / 384.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.2477, allocations: 2.019 MB / 386.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.2501, allocations: 2.696 MB / 389.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.2512, allocations: 1.036 MB / 390.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.2525, allocations: 1.2 MB / 391.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003612/0.2528, allocations: 312.7 kB / 391.8 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.2536, allocations: 480.6 kB / 392.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005227/0.2541, allocations: 0.7313 MB / 393 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000984/0.2551, allocations: 1.262 MB / 394.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00326/0.2584, allocations: 3.792 MB / 398 MB, free: 3.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2584, allocations: 1 kB / 398 MB, free: 3.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2584, allocations: 0 / 398 MB, free: 3.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.2e-05/0.2585, allocations: 0 / 398 MB, free: 3.266 MB / 318.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.003883/0.2624, allocations: 2.463 MB / 400.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2624, allocations: 12.11 kB / 400.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.2629, allocations: 237.6 kB / 400.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.2643, allocations: 1.182 MB / 401.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2644, allocations: 168.5 kB / 402.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.2647, allocations: 223.2 kB / 402.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.2687, allocations: 2.543 MB / 404.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.2687, allocations: 0 / 404.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.2689, allocations: 90.5 kB / 404.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/0.269, allocations: 55.72 kB / 405 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003241/0.2722, allocations: 2.136 MB / 407.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009958/0.2822, allocations: 7.476 MB / 414.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2834, allocations: 1.244 MB / 415.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.2844, allocations: 0.6374 MB / 416.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.2844, allocations: 8.547 kB / 416.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2844, allocations: 43.06 kB / 416.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.665e-06/0.2844, allocations: 0 / 416.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003722/0.2882, allocations: 2.439 MB / 419 MB, free: 3.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2882, allocations: 59.97 kB / 419 MB, free: 3.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.2891, allocations: 0.7893 MB / 419.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.2892, allocations: 38.55 kB / 419.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/0.2897, allocations: 0.9176 MB / 420.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.2898, allocations: 228.7 kB / 421 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.2901, allocations: 146.6 kB / 421.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2902, allocations: 390.8 kB / 421.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.2907, allocations: 365.8 kB / 421.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.2914, allocations: 0.5828 MB / 422.4 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.2926, allocations: 0.9932 MB / 423.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2926, allocations: 0 / 423.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001631/0.2943, allocations: 1.151 MB / 424.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2943, allocations: 16.03 kB / 424.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2943, allocations: 8 kB / 424.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.2946, allocations: 108.7 kB / 424.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.2952, allocations: 171.8 kB / 424.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.2973, allocations: 2.333 MB / 427.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.2978, allocations: 39.97 kB / 427.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.2978, allocations: 32 kB / 427.3 MB, free: 11.1 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.0009157/0.2988, allocations: 0.6457 MB / 427.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.2989, allocations: 83 kB / 428 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.2991, allocations: 103.6 kB / 428.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.2992, allocations: 8 kB / 428.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2992, allocations: 0 / 428.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2992, allocations: 7.984 kB / 428.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.3028, allocations: 2.659 MB / 430.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3029, allocations: 12.09 kB / 430.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.3033, allocations: 111.8 kB / 430.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.3036, allocations: 92.97 kB / 431 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.3036, allocations: 16 kB / 431 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.3056, allocations: 2.288 MB / 433.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3056, allocations: 4.031 kB / 433.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.3075, allocations: 1.416 MB / 434.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.3078, allocations: 220.1 kB / 434.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.3079, allocations: 12 kB / 435 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.3083, allocations: 51.95 kB / 435 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3085, allocations: 48.47 kB / 435.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.3085, allocations: 20 kB / 435.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006818/0.3092, allocations: 0.5576 MB / 435.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3092, allocations: 0 / 435.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3102, allocations: 300 kB / 435.9 MB, free: 2.176 MB / 350.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.0002553/0.3105, allocations: 139.1 kB / 436.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.312, allocations: 1.015 MB / 437.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.312, allocations: 0 / 437.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008043/0.3128, allocations: 0.5612 MB / 437.6 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3139, allocations: 222.1 kB / 437.8 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.319, allocations: 3.172 MB / 441 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.3203, allocations: 1.688 MB / 442.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3205, allocations: 67.42 kB / 442.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3205, allocations: 0 / 442.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.03164/0.3522, allocations: 28.55 MB / 471.3 MB, free: 14.61 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (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) 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) Reference file matches