Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.8 kB / 8.478 MB, free: 0.5234 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.2 MB / 214.1 MB, free: 8.578 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 97 kB / 262.1 MB, free: 5.062 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.514e-06, allocations: 4 kB / 315 MB, free: 1.988 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.08288, allocations: 47.57 MB / 362.5 MB, free: 2.301 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.3167, allocations: 84.49 MB / 447 MB, free: 3.16 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3169, allocations: 71.22 kB / 447.1 MB, free: 3.129 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.07671/0.3937, allocations: 31.55 MB / 478.7 MB, free: 6.84 MB / 354.8 MB Notification: Performance of Transformations before backend: time 0.0001/0.3938, allocations: 55.94 kB / 478.7 MB, free: 6.785 MB / 354.8 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.003478/0.3973, allocations: 1.968 MB / 480.7 MB, free: 4.758 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3973, allocations: 8.031 kB / 480.7 MB, free: 4.75 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.3978, allocations: 233.3 kB / 480.9 MB, free: 4.52 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.3998, allocations: 1.224 MB / 482.1 MB, free: 3.254 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.3999, allocations: 72 kB / 482.2 MB, free: 3.184 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.4001, allocations: 120 kB / 482.3 MB, free: 3.066 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002983/0.4031, allocations: 1.808 MB / 484.1 MB, free: 1.25 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.4065, allocations: 2.262 MB / 486.4 MB, free: 14.84 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.4066, allocations: 7.938 kB / 486.4 MB, free: 14.84 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4067, allocations: 0 / 486.4 MB, free: 14.84 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.4068, allocations: 52 kB / 486.5 MB, free: 14.79 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.417, allocations: 7.182 MB / 493.6 MB, free: 7.445 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.4179, allocations: 0.6169 MB / 494.3 MB, free: 6.824 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.4197, allocations: 1.151 MB / 495.4 MB, free: 5.676 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.4197, allocations: 12.77 kB / 495.4 MB, free: 5.66 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.4198, allocations: 47.28 kB / 495.5 MB, free: 5.605 MB / 370.8 MB Notification: Performance of pre-optimization done (n=96): time 4.288e-06/0.4198, allocations: 0 / 495.5 MB, free: 5.605 MB / 370.8 MB Notification: Performance of matching and sorting (n=97): time 0.004535/0.4244, allocations: 2.857 MB / 498.3 MB, free: 2.68 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.4244, allocations: 60.19 kB / 498.4 MB, free: 2.605 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.4253, allocations: 0.7032 MB / 499.1 MB, free: 1.887 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.4253, allocations: 25.7 kB / 499.1 MB, free: 1.855 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.4257, allocations: 0.7277 MB / 499.8 MB, free: 1.113 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.4259, allocations: 307.3 kB / 0.4884 GB, free: 0.8086 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.426, allocations: 3.938 kB / 0.4884 GB, free: 0.8047 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4261, allocations: 341.9 kB / 0.4887 GB, free: 476 kB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.4267, allocations: 481.8 kB / 0.4892 GB, free: 15.99 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.4274, allocations: 0.6489 MB / 0.4898 GB, free: 15.27 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007594/0.4282, allocations: 0.5611 MB / 0.4904 GB, free: 14.71 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4282, allocations: 0 / 0.4904 GB, free: 14.71 MB / 386.8 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002142/0.4304, allocations: 1.532 MB / 0.4919 GB, free: 13.16 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4304, allocations: 9.406 kB / 0.4919 GB, free: 13.16 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.4304, allocations: 4 kB / 0.4919 GB, free: 13.15 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/0.4314, allocations: 471 kB / 0.4923 GB, free: 12.68 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.4322, allocations: 179.7 kB / 0.4925 GB, free: 12.5 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.4393, allocations: 7.959 MB / 0.5003 GB, free: 4.082 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.4401, allocations: 27.97 kB / 0.5003 GB, free: 4.055 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.4402, allocations: 39.98 kB / 0.5004 GB, free: 4.016 MB / 386.8 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 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.4404, allocations: 120.9 kB / 0.5005 GB, free: 3.891 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.4406, allocations: 98.78 kB / 0.5006 GB, free: 3.793 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.4428, allocations: 1.454 MB / 0.502 GB, free: 2.316 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4428, allocations: 8 kB / 0.502 GB, free: 2.309 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4428, allocations: 8 kB / 0.502 GB, free: 2.301 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4428, allocations: 7.969 kB / 0.502 GB, free: 2.293 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.448, allocations: 3.182 MB / 0.5051 GB, free: 15.04 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.448, allocations: 3.984 kB / 0.5051 GB, free: 15.04 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.4486, allocations: 127.9 kB / 0.5052 GB, free: 14.91 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00092/0.4496, allocations: 454.9 kB / 0.5057 GB, free: 14.46 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.4496, allocations: 15.98 kB / 0.5057 GB, free: 14.44 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006737/0.4564, allocations: 7.863 MB / 0.5134 GB, free: 6.117 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.4564, allocations: 0 / 0.5134 GB, free: 6.117 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002933/0.4593, allocations: 2.264 MB / 0.5156 GB, free: 3.805 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.4599, allocations: 279.8 kB / 0.5158 GB, free: 3.512 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.46, allocations: 4.125 kB / 0.5158 GB, free: 3.508 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.4605, allocations: 35.91 kB / 0.5159 GB, free: 3.473 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.4606, allocations: 64.69 kB / 0.5159 GB, free: 3.41 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.4607, allocations: 27.97 kB / 0.516 GB, free: 3.383 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0006842/0.4614, allocations: 0.542 MB / 0.5165 GB, free: 2.844 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.001444/0.4628, allocations: 351.9 kB / 0.5168 GB, free: 2.5 MB / 402.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.4631, allocations: 143 kB / 0.517 GB, free: 2.352 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.4654, allocations: 1.699 MB / 0.5186 GB, free: 0.6016 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4654, allocations: 0 / 0.5186 GB, free: 0.6016 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1041/0.5695, allocations: 1.144 MB / 0.5197 GB, free: 148.2 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5708, allocations: 224.6 kB / 0.52 GB, free: 148.2 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.5756, allocations: 2.863 MB / 0.5228 GB, free: 147.6 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.5768, allocations: 1.791 MB / 0.5245 GB, free: 146.9 MB / 402.8 MB Notification: Performance of SimCode: time 5.71e-07/0.5768, allocations: 0 / 0.5245 GB, free: 146.9 MB / 402.8 MB Notification: Performance of Templates: time 0.02532/0.6021, allocations: 17.43 MB / 0.5415 GB, free: 146.1 MB / 402.8 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches