Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 104.1 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002637, allocations: 4 kB / 307.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09827, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005926/0.1042, allocations: 5.445 MB / 364.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003768/0.108, allocations: 2.08 MB / 366.2 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.1088, allocations: 19.94 kB / 366.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.1095, allocations: 198.8 kB / 366.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.111, allocations: 0.4895 MB / 366.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.112, allocations: 395.2 kB / 367.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1134, allocations: 1.082 MB / 368.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.1152, allocations: 0.953 MB / 369.3 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.1158, allocations: 358.5 kB / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.1165, allocations: 457.9 kB / 370.1 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.1166, allocations: 48 kB / 370.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.1172, allocations: 211.8 kB / 370.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.1174, allocations: 179.2 kB / 370.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.1176, allocations: 213.1 kB / 370.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1187, allocations: 1.083 MB / 371.8 MB, free: 396 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1188, allocations: 4 kB / 371.8 MB, free: 392 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1188, allocations: 0 / 371.8 MB, free: 392 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.1188, allocations: 0 / 371.8 MB, free: 392 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.157/0.2758, allocations: 1.274 MB / 373.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2759, allocations: 8.906 kB / 373.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.2785, allocations: 417.7 kB / 373.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.2793, allocations: 0.5647 MB / 374.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.2794, allocations: 76.48 kB / 374.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.2795, allocations: 99.11 kB / 374.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.2816, allocations: 1.02 MB / 375.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.2816, allocations: 1.875 kB / 375.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2817, allocations: 41.52 kB / 375.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.2818, allocations: 29.16 kB / 375.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.2834, allocations: 0.8659 MB / 376.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.2882, allocations: 3.652 MB / 379.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2902, allocations: 1.915 MB / 381.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008052/0.291, allocations: 474.3 kB / 382.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.2911, allocations: 173.5 kB / 382.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/0.292, allocations: 0.4962 MB / 382.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.337e-06/0.292, allocations: 4 kB / 382.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.004233/0.2962, allocations: 1.704 MB / 384.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2963, allocations: 195.3 kB / 384.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.2968, allocations: 472.5 kB / 385.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.2969, allocations: 51.8 kB / 385.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.2971, allocations: 416.6 kB / 385.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.2973, allocations: 272.7 kB / 386 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.2974, allocations: 20.16 kB / 386 MB, free: 11.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.2975, allocations: 374.1 kB / 386.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.2981, allocations: 281.1 kB / 386.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.2988, allocations: 497.6 kB / 387.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.2995, allocations: 328.8 kB / 387.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2995, allocations: 2.125 kB / 387.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001878/0.3014, allocations: 1.048 MB / 388.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3014, allocations: 11.69 kB / 388.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3014, allocations: 8.453 kB / 388.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008288/0.3023, allocations: 265.3 kB / 388.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.3028, allocations: 157.3 kB / 388.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.3071, allocations: 4.398 MB / 393.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.3077, allocations: 100.7 kB / 393.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.3078, allocations: 36.8 kB / 393.4 MB, free: 6.688 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y_last,iDC2.mean.y_last,$PRE.iAC.mean1.y_last,iAC.mean1.y_last,$PRE.iAC.mean2.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.3081, allocations: 249.3 kB / 393.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.304e-05/0.3082, allocations: 71.8 kB / 393.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.3101, allocations: 0.981 MB / 394.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.3101, allocations: 13.61 kB / 394.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3101, allocations: 0 / 394.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3101, allocations: 5.359 kB / 394.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.3128, allocations: 1.936 MB / 396.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3128, allocations: 1.531 kB / 396.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.3133, allocations: 102.4 kB / 396.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007041/0.314, allocations: 276.2 kB / 397.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.314, allocations: 13.59 kB / 397.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003769/0.3178, allocations: 4.362 MB / 401.4 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3178, allocations: 0 / 401.4 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.3199, allocations: 1.394 MB / 402.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.3202, allocations: 214.4 kB / 403 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.3203, allocations: 21.34 kB / 403.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.3207, allocations: 52.95 kB / 403.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3208, allocations: 66.83 kB / 403.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.3209, allocations: 28.42 kB / 403.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.3212, allocations: 330.8 kB / 403.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3213, allocations: 0 / 403.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001025/0.3223, allocations: 308.3 kB / 403.8 MB, free: 15.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.3225, allocations: 162.7 kB / 404 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.3244, allocations: 1.102 MB / 405.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3245, allocations: 1.25 kB / 405.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.3255, allocations: 0.7378 MB / 405.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.3262, allocations: 113.8 kB / 405.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.329, allocations: 2.042 MB / 408 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.3296, allocations: 0.9981 MB / 409 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.3299, allocations: 77.5 kB / 409.1 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3301, allocations: 51.42 kB / 409.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of SimCode: time 2.325e-06/0.3301, allocations: 4 kB / 409.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of Templates: time 0.02138/0.3515, allocations: 11.19 MB / 420.3 MB, free: 14.89 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches