Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.00167/0.00167, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001954/0.001954, allocations: 212.5 kB / 24.51 MB, free: 3.918 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 43.92 kB / 378.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2956, allocations: 53.36 MB / 431.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004589/0.3002, allocations: 2.975 MB / 434.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3023, allocations: 0.9507 MB / 435.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.3026, allocations: 7.938 kB / 435.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3029, allocations: 63.36 kB / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.3035, allocations: 126.9 kB / 436 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.304, allocations: 163.6 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.3048, allocations: 490 kB / 436.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.305, allocations: 91.62 kB / 436.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.3055, allocations: 203.3 kB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.3058, allocations: 207.1 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.3059, allocations: 36 kB / 437.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.306, allocations: 79.97 kB / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.3061, allocations: 95.62 kB / 437.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.3063, allocations: 179.2 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.3069, allocations: 0.4941 MB / 438 MB, free: 456 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3069, allocations: 4 kB / 438 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.3069, allocations: 7.922 kB / 438 MB, free: 444 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.307, allocations: 0 / 438 MB, free: 444 kB / 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.001425/0.3084, allocations: 0.6568 MB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3084, allocations: 8.031 kB / 438.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.699e-05/0.3085, allocations: 12.84 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.84e-05/0.3086, allocations: 70.72 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3088, allocations: 60.64 kB / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.3092, allocations: 253.2 kB / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.3093, allocations: 25.03 kB / 439.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.3093, allocations: 36.38 kB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.3101, allocations: 451.7 kB / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3101, allocations: 0 / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.3101, allocations: 12 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3101, allocations: 8 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.3106, allocations: 234.5 kB / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3126, allocations: 1.042 MB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.3133, allocations: 247.5 kB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.3138, allocations: 189.2 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.3141, allocations: 80.16 kB / 441.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3142, allocations: 34.8 kB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.3142, allocations: 0 / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001346/0.3155, allocations: 460.5 kB / 441.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.3156, allocations: 81.11 kB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.316, allocations: 337.6 kB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3161, allocations: 37.7 kB / 442.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3162, allocations: 220.4 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.3163, allocations: 99.12 kB / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3165, allocations: 74.02 kB / 442.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3167, allocations: 346.7 kB / 443 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.3169, allocations: 100.7 kB / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.3172, allocations: 207.5 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.3177, allocations: 276.6 kB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3177, allocations: 8.031 kB / 443.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000805/0.3185, allocations: 413.3 kB / 444 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3186, allocations: 12.25 kB / 444 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3186, allocations: 0 / 444 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.3188, allocations: 64.81 kB / 444.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.3192, allocations: 83.89 kB / 444.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.3212, allocations: 1.824 MB / 446 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3214, allocations: 43.72 kB / 446 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3215, allocations: 8 kB / 446 MB, free: 7.969 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.0001771/0.3216, allocations: 157.7 kB / 446.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.3217, allocations: 43.83 kB / 446.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.3224, allocations: 314.3 kB / 446.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3224, allocations: 8.125 kB / 446.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3224, allocations: 0 / 446.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3224, allocations: 7.922 kB / 446.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.3229, allocations: 324.5 kB / 446.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3229, allocations: 0 / 446.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.3232, allocations: 55.89 kB / 446.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.3234, allocations: 60.83 kB / 447 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3234, allocations: 11.98 kB / 447 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004825/0.3239, allocations: 0.6031 MB / 447.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3239, allocations: 160 / 447.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.3249, allocations: 0.5142 MB / 448.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.3249, allocations: 39.64 kB / 448.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.325, allocations: 8 kB / 448.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.3252, allocations: 19.98 kB / 448.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.3253, allocations: 15.95 kB / 448.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.3253, allocations: 12 kB / 448.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.3255, allocations: 231.2 kB / 448.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3255, allocations: 4 kB / 448.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004459/0.326, allocations: 119.8 kB / 448.5 MB, free: 5.344 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.001324/0.3273, allocations: 1.065 MB / 449.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008232/0.3281, allocations: 386.5 kB / 450 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3281, allocations: 0 / 450 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3285, allocations: 123.8 kB / 450.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3288, allocations: 50.44 kB / 450.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.3341, allocations: 3.712 MB / 453.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3343, allocations: 190.5 kB / 454.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.3344, allocations: 34.95 kB / 454.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.3346, allocations: 135.3 kB / 454.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3346, allocations: 0 / 454.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.3712, allocations: 8.105 MB / 462.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.58, allocations: 12.03 kB / 462.3 MB, free: 7.578 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.141214706003666]