Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 214.7 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00314/0.00314, allocations: 67.89 kB / 377.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2818, allocations: 53.4 MB / 431.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01212/0.294, allocations: 9.438 MB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.3009, allocations: 3.166 MB / 443.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.3029, allocations: 107.2 kB / 443.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.3051, allocations: 0.7371 MB / 444.6 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.3101, allocations: 1.212 MB / 445.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3116, allocations: 491.4 kB / 446.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00683/0.3184, allocations: 5.205 MB / 451.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.3219, allocations: 2.422 MB / 453.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.3266, allocations: 2.462 MB / 456.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004591/0.3312, allocations: 2.806 MB / 459.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.3323, allocations: 0.625 MB / 459.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.3339, allocations: 0.7108 MB / 460.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.3355, allocations: 1.667 MB / 462.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004223/0.3397, allocations: 2.26 MB / 464.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.3498, allocations: 8.534 MB / 473 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3498, allocations: 4 kB / 473 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3498, allocations: 0 / 473 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002327/0.35, allocations: 4 kB / 473 MB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01357/0.3636, allocations: 5.19 MB / 478.2 MB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3636, allocations: 11.98 kB / 478.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.3653, allocations: 0.5638 MB / 478.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.3677, allocations: 0.5954 MB / 479.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/0.3749, allocations: 2.838 MB / 482.2 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.3751, allocations: 299.8 kB / 482.5 MB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/0.3761, allocations: 387.9 kB / 482.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.3873, allocations: 6.187 MB / 489.1 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-05/0.3874, allocations: 0 / 489.1 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004043/0.3878, allocations: 167.9 kB / 489.2 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/0.3881, allocations: 228.1 kB / 489.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009839/0.3979, allocations: 5.048 MB / 494.5 MB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03036/0.4283, allocations: 14.86 MB / 0.4974 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006144/0.4344, allocations: 3.878 MB / 0.5012 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003919/0.4383, allocations: 2.45 MB / 0.5036 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.4386, allocations: 65.91 kB / 0.5037 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.4387, allocations: 64.5 kB / 0.5037 GB, free: 1.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.98e-06/0.4387, allocations: 0 / 0.5037 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02072/0.4594, allocations: 10.05 MB / 0.5135 GB, free: 7.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.4595, allocations: 77.42 kB / 0.5136 GB, free: 6.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.4635, allocations: 2.656 MB / 0.5162 GB, free: 4.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.4637, allocations: 69.7 kB / 0.5163 GB, free: 4.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.4651, allocations: 1.691 MB / 0.5179 GB, free: 2.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008663/0.466, allocations: 0.8792 MB / 0.5188 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.4667, allocations: 416.7 kB / 0.5192 GB, free: 1.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4669, allocations: 301.1 kB / 0.5195 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.4692, allocations: 1.34 MB / 0.5208 GB, free: 15.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.4717, allocations: 1.654 MB / 0.5224 GB, free: 13.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.4765, allocations: 3.079 MB / 0.5254 GB, free: 10.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4765, allocations: 4 kB / 0.5254 GB, free: 10.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008294/0.4848, allocations: 4.431 MB / 0.5297 GB, free: 6.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4848, allocations: 8 kB / 0.5297 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.4848, allocations: 8 kB / 0.5297 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00537/0.4902, allocations: 1.643 MB / 0.5314 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.4919, allocations: 395.4 kB / 0.5317 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2217/0.7136, allocations: 24.5 MB / 0.5557 GB, free: 83.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.7155, allocations: 94.41 kB / 0.5557 GB, free: 83.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.7157, allocations: 78.28 kB / 0.5558 GB, free: 83.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00175/0.7174, allocations: 1.416 MB / 0.5572 GB, free: 83.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.7179, allocations: 314.9 kB / 0.5575 GB, free: 83.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005873/0.7238, allocations: 4.343 MB / 0.5617 GB, free: 81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7238, allocations: 24 kB / 0.5618 GB, free: 80.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.7238, allocations: 11.39 kB / 0.5618 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7238, allocations: 10.22 kB / 0.5618 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.7354, allocations: 8.283 MB / 0.5699 GB, free: 72.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.7354, allocations: 2.312 kB / 0.5699 GB, free: 72.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.7365, allocations: 291.4 kB / 0.5702 GB, free: 72.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/0.741, allocations: 1.611 MB / 0.5717 GB, free: 71.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/0.7413, allocations: 63.97 kB / 0.5718 GB, free: 70.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/0.76, allocations: 24.25 MB / 0.5955 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.76, allocations: 0 / 0.5955 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008833/0.7688, allocations: 6.075 MB / 0.6014 GB, free: 39.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/0.771, allocations: 0.6326 MB / 0.602 GB, free: 39.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006947/0.7717, allocations: 51.98 kB / 0.6021 GB, free: 39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.7732, allocations: 127.8 kB / 0.6022 GB, free: 38.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/0.7736, allocations: 217.6 kB / 0.6024 GB, free: 38.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.7738, allocations: 72.05 kB / 0.6025 GB, free: 38.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002143/0.7759, allocations: 1.856 MB / 0.6043 GB, free: 36.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7759, allocations: 0 / 0.6043 GB, free: 36.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003037/0.7789, allocations: 0.9629 MB / 0.6052 GB, free: 35.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007623/0.7866, allocations: 6.771 MB / 0.6118 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005554/0.7921, allocations: 4.768 MB / 0.6165 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7921, allocations: 0 / 0.6165 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/0.7958, allocations: 3.28 MB / 0.6197 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/0.7992, allocations: 0.9511 MB / 0.6206 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05097/0.8502, allocations: 32.04 MB / 0.6519 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/0.8541, allocations: 2.658 MB / 0.6545 GB, free: 460 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001887/0.856, allocations: 0.5792 MB / 0.6551 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/0.8581, allocations: 1.483 MB / 0.6565 GB, free: 14.38 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/0.8581, allocations: 0 / 0.6565 GB, free: 14.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4104/1.268, allocations: 94.86 MB / 0.7492 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/18.17, allocations: 3.953 kB / 0.7492 GB, free: 182.1 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.154606909956783]