Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 107.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 209.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 227.7 MB / 247.4 MB, free: 10.47 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 72.91 kB / 307.4 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09632, allocations: 50.53 MB / 357.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007966/0.1043, allocations: 6.003 MB / 363.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1078, allocations: 1.643 MB / 365.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.1087, allocations: 43.81 kB / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.1094, allocations: 246.3 kB / 365.9 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.1107, allocations: 318.2 kB / 366.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.1114, allocations: 307.7 kB / 366.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.1138, allocations: 2.005 MB / 368.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.1169, allocations: 2.735 MB / 371.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1474/0.2643, allocations: 1.046 MB / 372.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.2662, allocations: 1.219 MB / 373.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006875/0.2669, allocations: 309.2 kB / 373.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009669/0.2679, allocations: 454.7 kB / 374.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.2686, allocations: 0.7292 MB / 374.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.27, allocations: 1.266 MB / 376.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.2732, allocations: 3.165 MB / 379.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2733, allocations: 1.266 kB / 379.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2733, allocations: 1.25 kB / 379.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001074/0.2734, allocations: 0 / 379.4 MB, free: 10.49 MB / 302.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.00511/0.2785, allocations: 2.484 MB / 381.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2785, allocations: 6.594 kB / 381.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.2794, allocations: 268.6 kB / 382.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.2811, allocations: 1.28 MB / 383.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.2813, allocations: 167.3 kB / 383.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/0.2815, allocations: 220.6 kB / 383.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004169/0.2857, allocations: 2.541 MB / 386.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.2858, allocations: 4 kB / 386.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.286, allocations: 91.59 kB / 386.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.2861, allocations: 55.81 kB / 386.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.2892, allocations: 2.142 MB / 388.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009748/0.299, allocations: 7.6 MB / 396.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3001, allocations: 1.258 MB / 397.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009609/0.301, allocations: 0.6216 MB / 398.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.3011, allocations: 7.188 kB / 398.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3011, allocations: 46.53 kB / 398.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 2.765e-06/0.3011, allocations: 0 / 398.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.003984/0.3051, allocations: 2.427 MB / 400.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3052, allocations: 58.34 kB / 400.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3062, allocations: 0.8057 MB / 401.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.3063, allocations: 37.95 kB / 401.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.3069, allocations: 0.9182 MB / 402.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.3071, allocations: 230.2 kB / 402.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3074, allocations: 143.7 kB / 402.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.3076, allocations: 390.6 kB / 403.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.3081, allocations: 364.9 kB / 403.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.3089, allocations: 0.5779 MB / 404.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.3102, allocations: 0.9887 MB / 405.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3102, allocations: 4 kB / 405.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001944/0.3122, allocations: 1.155 MB / 406.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3122, allocations: 8 kB / 406.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3122, allocations: 7.938 kB / 406.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.3125, allocations: 110.6 kB / 406.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.3132, allocations: 177.9 kB / 406.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.3157, allocations: 2.319 MB / 408.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.3163, allocations: 43.44 kB / 408.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.3164, allocations: 35.52 kB / 408.9 MB, free: 6.469 MB / 318.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.001114/0.3175, allocations: 0.6519 MB / 409.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.3177, allocations: 82.97 kB / 409.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.3179, allocations: 103.6 kB / 409.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.318, allocations: 8 kB / 409.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.318, allocations: 4 kB / 409.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.318, allocations: 3.984 kB / 409.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.3225, allocations: 2.665 MB / 412.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3225, allocations: 0 / 412.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.323, allocations: 110.6 kB / 412.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.3232, allocations: 104.8 kB / 412.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.3233, allocations: 12 kB / 412.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.3256, allocations: 2.272 MB / 414.9 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3257, allocations: 3.938 kB / 414.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.3279, allocations: 1.411 MB / 416.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.3283, allocations: 228 kB / 416.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3284, allocations: 12 kB / 416.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.3288, allocations: 44.02 kB / 416.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.329, allocations: 55.62 kB / 416.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.329, allocations: 19.98 kB / 416.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008306/0.3299, allocations: 0.5576 MB / 417.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3299, allocations: 3.938 kB / 417.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001151/0.331, allocations: 300 kB / 417.5 MB, free: 13.62 MB / 334.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.0002726/0.3313, allocations: 146.5 kB / 417.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.3334, allocations: 1.127 MB / 418.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3335, allocations: 0 / 418.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000926/0.3344, allocations: 0.5595 MB / 419.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.3356, allocations: 224.3 kB / 419.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.342, allocations: 4.136 MB / 423.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.3435, allocations: 1.696 MB / 425.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.3438, allocations: 63.44 kB / 425.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of SimCode: time 2.895e-06/0.3438, allocations: 0 / 425.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of Templates: time 0.03864/0.3825, allocations: 28.53 MB / 454 MB, free: 9.18 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches