Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2519, allocations: 50.54 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01571/0.2677, allocations: 16.5 MB / 426.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008173/0.2759, allocations: 4.138 MB / 430.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.2786, allocations: 135.6 kB / 430.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01575/0.2944, allocations: 7.439 MB / 438.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005324/0.2998, allocations: 1.323 MB / 439.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.3034, allocations: 1.243 MB / 440.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009827/0.3132, allocations: 8.254 MB / 449 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03449/0.3478, allocations: 22.52 MB / 471.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007122/0.3549, allocations: 4.824 MB / 476.3 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008063/0.363, allocations: 5.318 MB / 481.6 MB, free: 9.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003603/0.3666, allocations: 1.383 MB / 483 MB, free: 8.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/0.3717, allocations: 1.664 MB / 484.7 MB, free: 6.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00399/0.3757, allocations: 2.584 MB / 487.3 MB, free: 3.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01023/0.386, allocations: 5.218 MB / 492.5 MB, free: 14.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01932/0.4053, allocations: 18.31 MB / 0.4988 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4053, allocations: 0 / 0.4988 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.861e-06/0.4054, allocations: 4 kB / 0.4988 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004893/0.4059, allocations: 3.938 kB / 0.4988 GB, free: 12.33 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03095/0.4368, allocations: 10.44 MB / 0.509 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4369, allocations: 12.03 kB / 0.509 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.4569, allocations: 3.74 MB / 0.5127 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.4685, allocations: 5.359 MB / 0.5179 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007866/0.4693, allocations: 0.6823 MB / 0.5186 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003529/0.4728, allocations: 0.8905 MB / 0.5194 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03604/0.5089, allocations: 12.72 MB / 0.5319 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/0.5092, allocations: 4 kB / 0.5319 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002008/0.5112, allocations: 376 kB / 0.5322 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003714/0.5116, allocations: 399.1 kB / 0.5326 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4662/0.9778, allocations: 11.4 MB / 0.5438 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09443/1.072, allocations: 43.58 MB / 0.5863 GB, free: 80.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/1.087, allocations: 10.49 MB / 0.5966 GB, free: 68.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003621/1.091, allocations: 1.683 MB / 0.5982 GB, free: 67.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/1.091, allocations: 215.9 kB / 0.5984 GB, free: 67.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/1.091, allocations: 56.56 kB / 0.5985 GB, free: 66.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 6.172e-06/1.091, allocations: 4 kB / 0.5985 GB, free: 66.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.009476/1.1, allocations: 4.655 MB / 0.603 GB, free: 62.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.101, allocations: 77.41 kB / 0.6031 GB, free: 62.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/1.105, allocations: 2.926 MB / 0.6059 GB, free: 59.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/1.105, allocations: 65.7 kB / 0.606 GB, free: 59.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.106, allocations: 3.827 MB / 0.6097 GB, free: 55.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006644/1.107, allocations: 0.7892 MB / 0.6105 GB, free: 54.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.108, allocations: 0.952 MB / 0.6114 GB, free: 53.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/1.109, allocations: 305.1 kB / 0.6117 GB, free: 53.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/1.111, allocations: 1.976 MB / 0.6137 GB, free: 51.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/1.114, allocations: 4.149 MB / 0.6177 GB, free: 46.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005529/1.119, allocations: 6.513 MB / 0.6241 GB, free: 38.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-05/1.119, allocations: 23.94 kB / 0.6241 GB, free: 38.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008475/1.128, allocations: 6.503 MB / 0.6304 GB, free: 31.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.128, allocations: 36 kB / 0.6305 GB, free: 31.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.908e-05/1.128, allocations: 76 kB / 0.6306 GB, free: 31.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00075/1.129, allocations: 408.7 kB / 0.6309 GB, free: 31.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/1.132, allocations: 1.065 MB / 0.632 GB, free: 30.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/1.136, allocations: 4.378 MB / 0.6363 GB, free: 25.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/1.139, allocations: 0.6231 MB / 0.6369 GB, free: 25.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004828/1.139, allocations: 248 kB / 0.6371 GB, free: 25.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004016/1.143, allocations: 3.372 MB / 0.6404 GB, free: 21.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/1.144, allocations: 272.6 kB / 0.6407 GB, free: 21.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/1.148, allocations: 3.588 MB / 0.6442 GB, free: 17.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003115/1.152, allocations: 2.803 MB / 0.6469 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.152, allocations: 7.938 kB / 0.6469 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.152, allocations: 11.95 kB / 0.6469 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.164, allocations: 9.855 MB / 0.6565 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.165, allocations: 3.938 kB / 0.6565 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.166, allocations: 411.4 kB / 0.6569 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000611/1.167, allocations: 316.8 kB / 0.6572 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.167, allocations: 51.98 kB / 0.6573 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/1.17, allocations: 4.192 MB / 0.6614 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.17, allocations: 11.94 kB / 0.6614 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/1.178, allocations: 5.109 MB / 0.6664 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.179, allocations: 0.6064 MB / 0.667 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/1.179, allocations: 51.92 kB / 0.667 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.18, allocations: 131.9 kB / 0.6672 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/1.181, allocations: 149.7 kB / 0.6673 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.181, allocations: 63.98 kB / 0.6674 GB, free: 9.742 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002787/1.184, allocations: 1.959 MB / 0.6693 GB, free: 7.773 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.184, allocations: 0 / 0.6693 GB, free: 7.773 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004893/1.188, allocations: 1.957 MB / 0.6712 GB, free: 5.809 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005326/1.189, allocations: 205.5 kB / 0.6714 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006942/1.196, allocations: 4.625 MB / 0.6759 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.196, allocations: 0 / 0.6759 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/1.198, allocations: 1.727 MB / 0.6776 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.202, allocations: 0.6879 MB / 0.6783 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.224, allocations: 12.94 MB / 0.6909 GB, free: 1.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005836/1.23, allocations: 5.478 MB / 0.6962 GB, free: 12.05 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000979/1.231, allocations: 263.4 kB / 0.6965 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of SimCode: time 8.01e-07/1.231, allocations: 0 / 0.6965 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of Templates: time 0.4572/1.688, allocations: 132 MB / 0.8254 GB, free: 103.9 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches