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.001432/0.001432, allocations: 116.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002457/0.002457, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.605/2.605, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3759, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.03656/0.4125, allocations: 16.52 MB / 426.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.4321, allocations: 4.138 MB / 430.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005511/0.4377, allocations: 139.6 kB / 430.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04207/0.4799, allocations: 7.435 MB / 438.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00954/0.4894, allocations: 1.316 MB / 439.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01106/0.5005, allocations: 1.239 MB / 440.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02128/0.5218, allocations: 8.249 MB / 449 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05958/0.5815, allocations: 22.51 MB / 471.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.5924, allocations: 4.824 MB / 476.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/0.6047, allocations: 5.322 MB / 481.6 MB, free: 9.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005087/0.6098, allocations: 1.383 MB / 483 MB, free: 8.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00707/0.6169, allocations: 1.664 MB / 484.7 MB, free: 6.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005832/0.6228, allocations: 2.58 MB / 487.3 MB, free: 3.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01231/0.6351, allocations: 5.218 MB / 492.5 MB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03313/0.6683, allocations: 18.31 MB / 0.4988 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.6684, allocations: 0 / 0.4988 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.6684, allocations: 0 / 0.4988 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007299/0.6692, allocations: 0 / 0.4988 GB, free: 12.26 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.05291/0.7221, allocations: 10.44 MB / 0.509 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.7222, allocations: 8.031 kB / 0.509 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04188/0.7641, allocations: 3.752 MB / 0.5127 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/0.7836, allocations: 5.363 MB / 0.5179 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/0.7848, allocations: 0.6785 MB / 0.5186 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004248/0.789, allocations: 0.8905 MB / 0.5194 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0485/0.8376, allocations: 12.72 MB / 0.5319 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003617/0.838, allocations: 7.984 kB / 0.5319 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/0.841, allocations: 380 kB / 0.5322 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006169/0.8417, allocations: 399.1 kB / 0.5326 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6301/1.472, allocations: 11.4 MB / 0.5438 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09768/1.57, allocations: 43.58 MB / 0.5863 GB, free: 80.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.584, allocations: 10.49 MB / 0.5966 GB, free: 68.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.588, allocations: 1.682 MB / 0.5982 GB, free: 67.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/1.588, allocations: 219.9 kB / 0.5984 GB, free: 66.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/1.588, allocations: 56.03 kB / 0.5985 GB, free: 66.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 7.364e-06/1.588, allocations: 0 / 0.5985 GB, free: 66.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.01356/1.602, allocations: 4.659 MB / 0.603 GB, free: 62.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.602, allocations: 77.41 kB / 0.6031 GB, free: 62.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/1.608, allocations: 2.922 MB / 0.6059 GB, free: 59.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003361/1.608, allocations: 61.7 kB / 0.606 GB, free: 59.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/1.611, allocations: 3.833 MB / 0.6097 GB, free: 55.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009194/1.612, allocations: 0.7871 MB / 0.6105 GB, free: 54.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/1.614, allocations: 0.952 MB / 0.6114 GB, free: 53.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/1.614, allocations: 305.1 kB / 0.6117 GB, free: 53.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/1.619, allocations: 1.973 MB / 0.6137 GB, free: 51.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00589/1.625, allocations: 4.153 MB / 0.6177 GB, free: 45.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.635, allocations: 6.513 MB / 0.6241 GB, free: 38.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-05/1.635, allocations: 20 kB / 0.6241 GB, free: 38.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.03288/1.668, allocations: 6.499 MB / 0.6304 GB, free: 31.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.668, allocations: 36 kB / 0.6305 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/1.668, allocations: 80 kB / 0.6305 GB, free: 31.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/1.669, allocations: 420.7 kB / 0.6309 GB, free: 31.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005627/1.675, allocations: 1.061 MB / 0.632 GB, free: 30.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/1.698, allocations: 4.382 MB / 0.6363 GB, free: 25.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/1.704, allocations: 0.6231 MB / 0.6369 GB, free: 25.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008702/1.705, allocations: 248 kB / 0.6371 GB, free: 24.88 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.02306/1.728, allocations: 3.372 MB / 0.6404 GB, free: 21.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/1.729, allocations: 272.6 kB / 0.6407 GB, free: 21.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008421/1.737, allocations: 3.581 MB / 0.6442 GB, free: 17.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02254/1.76, allocations: 2.803 MB / 0.6469 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.76, allocations: 7.938 kB / 0.6469 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-05/1.76, allocations: 11.95 kB / 0.6469 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04195/1.802, allocations: 9.86 MB / 0.6565 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.802, allocations: 7.938 kB / 0.6566 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005325/1.807, allocations: 407.4 kB / 0.6569 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/1.809, allocations: 312.9 kB / 0.6572 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/1.809, allocations: 51.98 kB / 0.6573 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007469/1.817, allocations: 4.204 MB / 0.6614 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.817, allocations: 0 / 0.6614 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.831, allocations: 5.113 MB / 0.6664 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.834, allocations: 0.6103 MB / 0.667 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.834, allocations: 43.92 kB / 0.667 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.837, allocations: 131.8 kB / 0.6672 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/1.837, allocations: 141.8 kB / 0.6673 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002752/1.838, allocations: 63.98 kB / 0.6673 GB, free: 9.605 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005633/1.843, allocations: 1.967 MB / 0.6693 GB, free: 7.629 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.332e-06/1.843, allocations: 3.938 kB / 0.6693 GB, free: 7.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00889/1.852, allocations: 1.957 MB / 0.6712 GB, free: 5.66 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.0008353/1.853, allocations: 201.5 kB / 0.6714 GB, free: 5.453 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01291/1.866, allocations: 4.616 MB / 0.6759 GB, free: 0.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.866, allocations: 0 / 0.6759 GB, free: 0.832 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005222/1.871, allocations: 1.74 MB / 0.6776 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006804/1.878, allocations: 0.6849 MB / 0.6783 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/1.935, allocations: 12.95 MB / 0.6909 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01595/1.951, allocations: 5.474 MB / 0.6962 GB, free: 11.89 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/1.954, allocations: 271.4 kB / 0.6965 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of SimCode: time 1.663e-06/1.954, allocations: 0 / 0.6965 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of Templates: time 0.5756/2.529, allocations: 133 MB / 0.8263 GB, free: 103 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