Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 106.6 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 217.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.229, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006972/0.236, allocations: 6.023 MB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.2391, allocations: 1.69 MB / 417.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/0.2396, allocations: 51.81 kB / 417.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.2403, allocations: 301.5 kB / 418 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.2413, allocations: 369.5 kB / 418.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.2419, allocations: 363.5 kB / 418.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2437, allocations: 2.017 MB / 420.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.2464, allocations: 2.731 MB / 423.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2478, allocations: 1.044 MB / 424.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.2497, allocations: 1.202 MB / 425.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004127/0.2501, allocations: 308 kB / 426 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007819/0.2509, allocations: 459.7 kB / 426.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.2515, allocations: 0.7364 MB / 427.2 MB, free: 236 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.2526, allocations: 1.26 MB / 428.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.2556, allocations: 3.798 MB / 432.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2557, allocations: 4 kB / 432.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2557, allocations: 0 / 432.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.627e-05/0.2557, allocations: 0 / 432.2 MB, free: 11.16 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.004054/0.2598, allocations: 2.47 MB / 434.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2598, allocations: 15.97 kB / 434.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/0.2606, allocations: 262.2 kB / 435 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.2629, allocations: 1.326 MB / 436.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.2631, allocations: 172.8 kB / 436.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.2634, allocations: 228 kB / 436.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.2674, allocations: 2.542 MB / 439.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.2675, allocations: 0 / 439.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.2677, allocations: 88 kB / 439.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.2677, allocations: 56 kB / 439.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.2711, allocations: 2.145 MB / 441.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.2821, allocations: 7.463 MB / 449 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2834, allocations: 1.262 MB / 450.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.2844, allocations: 0.6374 MB / 450.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.2845, allocations: 4.562 kB / 450.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2845, allocations: 43.11 kB / 450.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.526e-06/0.2845, allocations: 0 / 450.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003883/0.2884, allocations: 2.427 MB / 453.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2885, allocations: 59.97 kB / 453.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.2894, allocations: 0.7972 MB / 454.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.2894, allocations: 41.7 kB / 454.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.29, allocations: 0.9254 MB / 455.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2902, allocations: 224.7 kB / 455.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.2904, allocations: 142.6 kB / 455.5 MB, free: 3.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2906, allocations: 390.8 kB / 455.9 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2911, allocations: 365.8 kB / 456.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.2918, allocations: 0.5868 MB / 456.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.2931, allocations: 0.9854 MB / 457.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2931, allocations: 0 / 457.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001686/0.2948, allocations: 1.147 MB / 459 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.2948, allocations: 11.94 kB / 459 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2948, allocations: 8 kB / 459 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/0.2951, allocations: 112.7 kB / 459.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.2958, allocations: 175.8 kB / 459.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.2979, allocations: 2.325 MB / 461.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.2985, allocations: 39.97 kB / 461.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.2985, allocations: 32 kB / 461.7 MB, free: 12.68 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.0009227/0.2995, allocations: 0.6663 MB / 462.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.2996, allocations: 86.98 kB / 462.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.2998, allocations: 99.69 kB / 462.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.2998, allocations: 8 kB / 462.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2998, allocations: 0 / 462.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2999, allocations: 3.984 kB / 462.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.3039, allocations: 2.651 MB / 465.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3039, allocations: 0 / 465.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.3044, allocations: 111.8 kB / 465.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.3047, allocations: 96.78 kB / 465.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.3047, allocations: 19.98 kB / 465.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.3067, allocations: 2.275 MB / 467.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3067, allocations: 4.125 kB / 467.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3086, allocations: 1.42 MB / 469.1 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.309, allocations: 220 kB / 469.3 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.3091, allocations: 15.98 kB / 469.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.3095, allocations: 47.97 kB / 469.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3096, allocations: 48.48 kB / 469.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.3096, allocations: 16 kB / 469.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006473/0.3103, allocations: 0.5654 MB / 470 MB, free: 4.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3103, allocations: 4 kB / 470 MB, free: 4.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009669/0.3113, allocations: 296 kB / 470.3 MB, free: 3.758 MB / 382.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.0002233/0.3115, allocations: 139.1 kB / 470.5 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.313, allocations: 1.003 MB / 471.5 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.313, allocations: 0 / 471.5 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007786/0.3138, allocations: 0.5561 MB / 472 MB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3148, allocations: 223.8 kB / 472.2 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.3192, allocations: 3.202 MB / 475.4 MB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.3204, allocations: 1.696 MB / 477.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.3206, allocations: 63.42 kB / 477.2 MB, free: 12.78 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3206, allocations: 0 / 477.2 MB, free: 12.78 MB / 398.1 MB Notification: Performance of Templates: time 0.03042/0.351, allocations: 28.85 MB / 0.4942 GB, free: 15.96 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches