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.001435/0.001435, allocations: 123.6 kB / 20.44 MB, free: 1.297 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.001458/0.001458, allocations: 213.6 kB / 23.74 MB, free: 4.531 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001727/0.001727, allocations: 47.92 kB / 377.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2849, allocations: 53.36 MB / 431.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004843/0.2898, allocations: 2.983 MB / 434.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2913, allocations: 0.7752 MB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2914, allocations: 4 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.2916, allocations: 47.5 kB / 435 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2918, allocations: 111.2 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.2922, allocations: 115.8 kB / 435.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.2926, allocations: 418.4 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.2929, allocations: 91.66 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2931, allocations: 163.4 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.2933, allocations: 167.3 kB / 436 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.2934, allocations: 44 kB / 436.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.2934, allocations: 40 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.2935, allocations: 79.69 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.2937, allocations: 179.1 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2942, allocations: 454.8 kB / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2942, allocations: 0 / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2942, allocations: 0 / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2942, allocations: 0 / 436.8 MB, free: 1.184 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001301/0.2955, allocations: 0.6169 MB / 437.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2956, allocations: 8.031 kB / 437.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.2956, allocations: 58.73 kB / 437.5 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.2957, allocations: 40.7 kB / 437.5 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.2961, allocations: 249.8 kB / 437.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.2961, allocations: 24.88 kB / 437.8 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.2962, allocations: 24.38 kB / 437.8 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.2969, allocations: 322.8 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2969, allocations: 3.938 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.2969, allocations: 11.98 kB / 438.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2969, allocations: 8 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/0.2977, allocations: 285.8 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2996, allocations: 1.104 MB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.3004, allocations: 234.5 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.3007, allocations: 104.8 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3008, allocations: 3.984 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.3012, allocations: 181.1 kB / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.3012, allocations: 4 kB / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002226/0.3034, allocations: 0.5915 MB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.3035, allocations: 106.8 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.3038, allocations: 285.8 kB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.3039, allocations: 37.69 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.304, allocations: 200 kB / 441.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.3041, allocations: 47.67 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3042, allocations: 49.89 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3043, allocations: 338.8 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.3047, allocations: 108.1 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.3051, allocations: 217.2 kB / 442 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.3058, allocations: 320.6 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3058, allocations: 0 / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001343/0.3071, allocations: 482.2 kB / 442.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.3072, allocations: 37.64 kB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.3072, allocations: 7.984 kB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.3077, allocations: 80.88 kB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3081, allocations: 55.89 kB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/0.3125, allocations: 1.953 MB / 444.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.313, allocations: 63.8 kB / 445 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.313, allocations: 15.94 kB / 445 MB, free: 8.496 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.0002421/0.3133, allocations: 145.8 kB / 445.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.3133, allocations: 23.86 kB / 445.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.3134, allocations: 25.77 kB / 445.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3134, allocations: 4 kB / 445.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3134, allocations: 4.125 kB / 445.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3134, allocations: 4 kB / 445.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3139, allocations: 300.5 kB / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3139, allocations: 3.984 kB / 445.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.3141, allocations: 27.97 kB / 445.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.3145, allocations: 80.75 kB / 445.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3145, allocations: 7.984 kB / 445.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.3183, allocations: 1.867 MB / 447.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3183, allocations: 0 / 447.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3199, allocations: 373.6 kB / 447.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.32, allocations: 19.86 kB / 447.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.32, allocations: 7.938 kB / 447.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3204, allocations: 48.02 kB / 447.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.3205, allocations: 15.97 kB / 447.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3205, allocations: 4 kB / 447.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.3209, allocations: 205.2 kB / 448.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3209, allocations: 0 / 448.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007574/0.3217, allocations: 83.78 kB / 448.2 MB, free: 5.082 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.002052/0.3237, allocations: 0.9036 MB / 449.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3257, allocations: 497.8 kB / 449.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3257, allocations: 0 / 449.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.3264, allocations: 235.1 kB / 449.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.3269, allocations: 44.45 kB / 449.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.3378, allocations: 3.595 MB / 453.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.3384, allocations: 0.756 MB / 454.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.3386, allocations: 22.3 kB / 454.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3387, allocations: 83.41 kB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3387, allocations: 7.875 kB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/0.3872, allocations: 7.079 MB / 461.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.84, allocations: 10.22 kB / 461.4 MB, free: 7.801 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.411733193090186]