Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008934/0.0008934, allocations: 96.95 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002731, allocations: 4 kB / 307.7 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1144, allocations: 51.52 MB / 359.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006785/0.1212, allocations: 5.748 MB / 365 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.1246, allocations: 1.651 MB / 366.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/0.1254, allocations: 43.81 kB / 366.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.1261, allocations: 234.4 kB / 366.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1276, allocations: 370 kB / 367.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.1283, allocations: 303.7 kB / 367.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.131, allocations: 2.269 MB / 369.8 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.1336, allocations: 2.03 MB / 371.9 MB, free: 356 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2217/0.3553, allocations: 0.7289 MB / 372.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.3572, allocations: 0.9631 MB / 373.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.3575, allocations: 119.7 kB / 373.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006602/0.3581, allocations: 238.8 kB / 373.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.3587, allocations: 0.4908 MB / 374.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.3599, allocations: 1.022 MB / 375.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.3643, allocations: 3.373 MB / 378.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3644, allocations: 7.406 kB / 378.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3644, allocations: 0 / 378.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.3645, allocations: 1.25 kB / 378.8 MB, free: 9.609 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004495/0.369, allocations: 2.1 MB / 380.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3691, allocations: 13.88 kB / 380.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.3697, allocations: 266 kB / 381.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.3715, allocations: 1.259 MB / 382.4 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3716, allocations: 152.2 kB / 382.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.3719, allocations: 203.8 kB / 382.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00505/0.377, allocations: 2.629 MB / 385.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.377, allocations: 0 / 385.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.3772, allocations: 85.72 kB / 385.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.3773, allocations: 54.81 kB / 385.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.3811, allocations: 2.099 MB / 387.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.3934, allocations: 7.453 MB / 395.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.3966, allocations: 2.358 MB / 397.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.3988, allocations: 0.9303 MB / 398.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.3989, allocations: 15.03 kB / 398.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.399, allocations: 46.88 kB / 398.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 5.14e-06/0.399, allocations: 0 / 398.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.01193/0.4109, allocations: 4.22 MB / 402.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.411, allocations: 62.53 kB / 402.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.4128, allocations: 0.8712 MB / 403.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4129, allocations: 41.7 kB / 403.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009737/0.4139, allocations: 0.8395 MB / 404.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.4145, allocations: 327.1 kB / 404.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4147, allocations: 87.39 kB / 404.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.4149, allocations: 345.9 kB / 405.2 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.4164, allocations: 0.4899 MB / 405.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4178, allocations: 0.6759 MB / 406.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.4206, allocations: 1.219 MB / 407.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.4207, allocations: 0 / 407.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004308/0.425, allocations: 1.644 MB / 409.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.425, allocations: 7.938 kB / 409.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.4251, allocations: 8 kB / 409.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.4266, allocations: 464.4 kB / 409.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.4276, allocations: 182.3 kB / 409.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.4394, allocations: 8.46 MB / 418.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.4402, allocations: 56.02 kB / 418.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.4403, allocations: 37.34 kB / 418.5 MB, free: 12.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.4416, allocations: 0.6439 MB / 419.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.4418, allocations: 102.9 kB / 419.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.4421, allocations: 138.1 kB / 419.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/0.4422, allocations: 12 kB / 419.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.4422, allocations: 4 kB / 419.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4422, allocations: 11.97 kB / 419.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/0.4479, allocations: 3.525 MB / 422.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.448, allocations: 0 / 422.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.4485, allocations: 127.4 kB / 423 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009893/0.4495, allocations: 462 kB / 423.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.4496, allocations: 22.42 kB / 423.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008333/0.4579, allocations: 8.379 MB / 431.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.458, allocations: 0 / 431.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.4616, allocations: 2.324 MB / 434.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.4622, allocations: 279.8 kB / 434.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4623, allocations: 20.19 kB / 434.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.4628, allocations: 51.95 kB / 434.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.463, allocations: 88.8 kB / 434.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.4631, allocations: 29.17 kB / 434.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008741/0.464, allocations: 0.6122 MB / 435.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.464, allocations: 0 / 435.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001533/0.4655, allocations: 376 kB / 435.6 MB, free: 10.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002773/0.4658, allocations: 149.5 kB / 435.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.4685, allocations: 1.826 MB / 437.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4685, allocations: 0 / 437.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.4703, allocations: 1.242 MB / 438.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.4717, allocations: 282.8 kB / 439.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/0.4777, allocations: 4.578 MB / 443.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.4791, allocations: 1.726 MB / 445.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008004/0.4799, allocations: 192.9 kB / 445.6 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.4801, allocations: 71.42 kB / 445.7 MB, free: 264 kB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4801, allocations: 0 / 445.7 MB, free: 264 kB / 350.1 MB Notification: Performance of Templates: time 0.0372/0.5174, allocations: 19.28 MB / 465 MB, free: 13.22 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches