Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 191.4 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 43.94 kB / 371.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2577, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004488/0.2622, allocations: 2.954 MB / 426.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.2638, allocations: 0.8923 MB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.264, allocations: 7.938 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.2641, allocations: 59.42 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.2645, allocations: 122.9 kB / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.2648, allocations: 159.6 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.2653, allocations: 486 kB / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.2656, allocations: 87.64 kB / 428.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.2658, allocations: 195.3 kB / 428.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.2661, allocations: 203.1 kB / 428.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.2661, allocations: 40 kB / 428.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2663, allocations: 75.97 kB / 428.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.2664, allocations: 91.67 kB / 428.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2666, allocations: 183.2 kB / 428.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.2671, allocations: 0.4979 MB / 429.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2671, allocations: 0 / 429.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2671, allocations: 0 / 429.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2671, allocations: 4 kB / 429.4 MB, free: 8.332 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001293/0.2684, allocations: 0.6646 MB / 430.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2685, allocations: 8.031 kB / 430.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.465e-05/0.2685, allocations: 8.844 kB / 430.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.654e-05/0.2686, allocations: 70.72 kB / 430.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.2687, allocations: 48.66 kB / 430.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.2691, allocations: 249.3 kB / 430.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.2691, allocations: 29.03 kB / 430.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.2692, allocations: 32.38 kB / 430.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.2699, allocations: 447.8 kB / 430.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2699, allocations: 3.938 kB / 430.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.2699, allocations: 12 kB / 430.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.27, allocations: 7.984 kB / 430.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.2705, allocations: 234.5 kB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2724, allocations: 1.038 MB / 432.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.2731, allocations: 247.5 kB / 432.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.2736, allocations: 189.2 kB / 432.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.2739, allocations: 68.16 kB / 432.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.2739, allocations: 46.72 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/0.2739, allocations: 0 / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001369/0.2753, allocations: 442.7 kB / 433.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2754, allocations: 81.11 kB / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.2757, allocations: 328.5 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2758, allocations: 37.7 kB / 433.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.276, allocations: 220.4 kB / 433.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/0.2761, allocations: 107.1 kB / 433.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2762, allocations: 70.06 kB / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2764, allocations: 346.7 kB / 434.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2766, allocations: 100.7 kB / 434.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.2769, allocations: 203.5 kB / 434.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.2774, allocations: 288.3 kB / 434.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2774, allocations: 4 kB / 434.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000799/0.2782, allocations: 409.6 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2782, allocations: 8 kB / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2782, allocations: 3.938 kB / 435.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.2785, allocations: 76.98 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.2788, allocations: 79.89 kB / 435.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.2808, allocations: 1.821 MB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2811, allocations: 43.67 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.2811, allocations: 15.94 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.2813, allocations: 157.6 kB / 437.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.2814, allocations: 35.77 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.2821, allocations: 322.7 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2821, allocations: 7.938 kB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2821, allocations: 0 / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2821, allocations: 3.984 kB / 437.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.2826, allocations: 320.5 kB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2826, allocations: 0 / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.2829, allocations: 47.97 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.2831, allocations: 68.8 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.2831, allocations: 4 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005428/0.2837, allocations: 0.6148 MB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2837, allocations: 4 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.2846, allocations: 0.5052 MB / 439.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.2847, allocations: 35.73 kB / 439.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.2847, allocations: 12.06 kB / 439.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.285, allocations: 15.98 kB / 439.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.285, allocations: 15.97 kB / 439.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2851, allocations: 11.98 kB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.2853, allocations: 231.1 kB / 439.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2853, allocations: 0 / 439.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.2858, allocations: 119.7 kB / 439.9 MB, free: 13.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.2872, allocations: 1.065 MB / 440.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.2882, allocations: 394.5 kB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2882, allocations: 4.062 kB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.2886, allocations: 127.8 kB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.2889, allocations: 41.3 kB / 441.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.2942, allocations: 3.699 MB / 445.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2944, allocations: 190.5 kB / 445.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.2945, allocations: 34.91 kB / 445.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.2947, allocations: 127.4 kB / 445.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2947, allocations: 0 / 445.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.3437, allocations: 8.078 MB / 453.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.37, allocations: 15.8 kB / 453.6 MB, free: 15.55 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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: 15.838162483065389]