Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001311/0.001311, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001418/0.001418, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.412/1.412, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09979, allocations: 53.35 MB / 426.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004705/0.1045, allocations: 2.954 MB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1061, allocations: 0.7596 MB / 430.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1064, allocations: 15.94 kB / 430.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1066, allocations: 51.5 kB / 430.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1069, allocations: 99.17 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1072, allocations: 119.8 kB / 430.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.1078, allocations: 418.4 kB / 430.8 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.108, allocations: 87.27 kB / 430.8 MB, free: 220 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.1083, allocations: 171.3 kB / 431 MB, free: 48 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2007/0.309, allocations: 166 kB / 431.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.3092, allocations: 40.06 kB / 431.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3093, allocations: 40.41 kB / 431.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.3094, allocations: 75.72 kB / 431.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.3096, allocations: 178.5 kB / 431.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.3102, allocations: 455.6 kB / 431.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3102, allocations: 2.672 kB / 431.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3102, allocations: 3.938 kB / 432 MB, free: 7.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3102, allocations: 0.9688 kB / 432 MB, free: 7.789 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001341/0.3115, allocations: 0.6812 MB / 432.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3116, allocations: 9.844 kB / 432.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.3116, allocations: 61.88 kB / 432.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.3117, allocations: 38.48 kB / 432.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.3121, allocations: 300.5 kB / 433 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3121, allocations: 20.66 kB / 433.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.3121, allocations: 24.94 kB / 433.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.3128, allocations: 327.8 kB / 433.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3128, allocations: 0.5 kB / 433.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3128, allocations: 11.31 kB / 433.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3128, allocations: 9.719 kB / 433.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.3136, allocations: 285.5 kB / 433.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.3152, allocations: 1.141 MB / 434.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.316, allocations: 239.8 kB / 435.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.3164, allocations: 100.9 kB / 435.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3164, allocations: 1.562 kB / 435.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.3169, allocations: 182.9 kB / 435.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3169, allocations: 0.625 kB / 435.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002468/0.3194, allocations: 0.6664 MB / 436 MB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.3194, allocations: 109.4 kB / 436.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.3198, allocations: 287.9 kB / 436.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3198, allocations: 31.36 kB / 436.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3199, allocations: 207.8 kB / 436.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3199, allocations: 43.42 kB / 436.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.32, allocations: 50.2 kB / 436.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.3201, allocations: 336.5 kB / 437.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.3205, allocations: 112.7 kB / 437.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.3209, allocations: 212.4 kB / 437.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.3216, allocations: 323.9 kB / 437.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3216, allocations: 1.156 kB / 437.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001275/0.3228, allocations: 481.2 kB / 438.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.3229, allocations: 34.08 kB / 438.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3229, allocations: 3.219 kB / 438.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.3233, allocations: 91.41 kB / 438.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3235, allocations: 48.78 kB / 438.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.3261, allocations: 2.063 MB / 440.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.3265, allocations: 58.98 kB / 440.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3265, allocations: 14.53 kB / 440.5 MB, free: 3.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.3266, allocations: 156.5 kB / 440.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.3267, allocations: 22.83 kB / 440.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.3267, allocations: 27.97 kB / 440.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3267, allocations: 2.766 kB / 440.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3267, allocations: 5 kB / 440.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3267, allocations: 0.7031 kB / 440.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.327, allocations: 325.1 kB / 441 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.327, allocations: 0.75 kB / 441 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3271, allocations: 28.81 kB / 441 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.3274, allocations: 81.41 kB / 441.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3274, allocations: 3.844 kB / 441.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.3295, allocations: 1.981 MB / 443.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3295, allocations: 1.469 kB / 443.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3306, allocations: 368.3 kB / 443.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3306, allocations: 111 kB / 443.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.3306, allocations: 1.375 kB / 443.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.3309, allocations: 42.56 kB / 443.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.331, allocations: 20.86 kB / 443.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.331, allocations: 4.578 kB / 443.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.3312, allocations: 204 kB / 443.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3312, allocations: 0.5 kB / 443.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.3316, allocations: 76.28 kB / 443.9 MB, free: 0.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.3329, allocations: 0.9065 MB / 444.8 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.3343, allocations: 0.4891 MB / 445.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3343, allocations: 0 / 445.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.3348, allocations: 234.9 kB / 445.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3352, allocations: 53.58 kB / 445.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/0.3429, allocations: 3.589 MB / 449.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3433, allocations: 0.7565 MB / 449.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.3435, allocations: 30.17 kB / 450 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3436, allocations: 84 kB / 450 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3436, allocations: 1.188 kB / 450 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.3803, allocations: 6.909 MB / 457 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 9.453 kB / 457 MB, free: 11.09 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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: 14.114954666933045]