Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002174/0.002174, allocations: 206.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 43.92 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2462, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005355/0.2515, allocations: 3.838 MB / 435 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2536, allocations: 0.9813 MB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.2538, allocations: 11.94 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.2541, allocations: 99 kB / 436 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.2546, allocations: 206.2 kB / 436.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.255, allocations: 195.7 kB / 436.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.2558, allocations: 0.7361 MB / 437.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.2561, allocations: 155.7 kB / 437.3 MB, free: 384 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.2565, allocations: 298.9 kB / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.2569, allocations: 326.7 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.035e-05/0.257, allocations: 60 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2572, allocations: 68 kB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2573, allocations: 151.4 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.2576, allocations: 282.6 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.2584, allocations: 0.7274 MB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2584, allocations: 3.938 kB / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2584, allocations: 0 / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2584, allocations: 0 / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001527/0.2599, allocations: 0.8593 MB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.26, allocations: 8.031 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.2601, allocations: 108 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.2605, allocations: 104.4 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.2611, allocations: 344.3 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.2612, allocations: 41.69 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.2612, allocations: 52.38 kB / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2623, allocations: 0.5693 MB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2623, allocations: 4 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.2623, allocations: 24 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.2623, allocations: 12 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/0.2632, allocations: 468.9 kB / 441.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.2662, allocations: 1.915 MB / 443.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.2671, allocations: 0.5111 MB / 444.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.2677, allocations: 354 kB / 444.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.2677, allocations: 8.5 kB / 444.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.2678, allocations: 43.05 kB / 444.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.865e-06/0.2678, allocations: 0 / 444.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00431/0.2721, allocations: 1.732 MB / 446.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2721, allocations: 59.91 kB / 446.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.2725, allocations: 369.7 kB / 446.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.2726, allocations: 37.7 kB / 446.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2727, allocations: 245.3 kB / 447 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.2729, allocations: 214.2 kB / 447.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.273, allocations: 86.34 kB / 447.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2732, allocations: 362.7 kB / 447.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.2735, allocations: 169.2 kB / 447.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.2739, allocations: 212.8 kB / 448.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.2746, allocations: 382.1 kB / 448.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2746, allocations: 0 / 448.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001203/0.2758, allocations: 0.6641 MB / 449.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2758, allocations: 8 kB / 449.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2758, allocations: 4 kB / 449.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/0.2766, allocations: 255.1 kB / 449.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.2769, allocations: 67.92 kB / 449.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006771/0.2836, allocations: 7.041 MB / 456.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.2839, allocations: 16.02 kB / 456.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.2839, allocations: 16 kB / 456.5 MB, free: 12.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * 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.0002377/0.2842, allocations: 178.2 kB / 456.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.2843, allocations: 55.61 kB / 456.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2844, allocations: 69.03 kB / 456.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2844, allocations: 8.062 kB / 456.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2844, allocations: 4 kB / 456.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2844, allocations: 3.984 kB / 456.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.2865, allocations: 1.233 MB / 458 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2865, allocations: 0 / 458 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.2867, allocations: 63.91 kB / 458.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/0.2874, allocations: 259.6 kB / 458.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.2875, allocations: 19.98 kB / 458.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.2942, allocations: 7.046 MB / 465.4 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2942, allocations: 0 / 465.4 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.2959, allocations: 1.013 MB / 466.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.2961, allocations: 87.64 kB / 466.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.2961, allocations: 15.98 kB / 466.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2964, allocations: 16 kB / 466.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2965, allocations: 56.39 kB / 466.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.2966, allocations: 23.86 kB / 466.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.2968, allocations: 263.2 kB / 466.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2968, allocations: 0 / 466.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008598/0.2977, allocations: 172 kB / 467 MB, free: 1.289 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * 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.002091/0.2998, allocations: 1.58 MB / 468.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3015, allocations: 1.006 MB / 469.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3015, allocations: 4 kB / 469.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3027, allocations: 0.8253 MB / 470.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3032, allocations: 85.41 kB / 470.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007356/0.3106, allocations: 5.095 MB / 475.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3109, allocations: 288.3 kB / 475.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.3111, allocations: 52.53 kB / 476 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.3113, allocations: 171.4 kB / 476.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3113, allocations: 4 kB / 476.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06877/0.38, allocations: 14.61 MB / 490.8 MB, free: 9.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.15, allocations: 4 kB / 490.8 MB, free: 9.547 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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: 16.083535288023995]