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.0008754/0.0008754, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007869/0.0007869, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8826/0.8826, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.775e-05, allocations: 2.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002681/0.002699, allocations: 2.765 MB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.003628, allocations: 0.7402 MB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003746, allocations: 7.938 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.003881, allocations: 51.52 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.004044, allocations: 107.1 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.004307, allocations: 119.7 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.004636, allocations: 430.2 kB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.004818, allocations: 79.67 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.00503, allocations: 235.5 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.005171, allocations: 135.6 kB / 329.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.005221, allocations: 40 kB / 329.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.75e-05/0.005258, allocations: 40 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.005323, allocations: 79.69 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.005426, allocations: 127.7 kB / 329.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.005797, allocations: 462.6 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.0058, allocations: 0 / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.005802, allocations: 0 / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005809, allocations: 3.938 kB / 330 MB, free: 10.48 MB / 298.7 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.0008755/0.006684, allocations: 0.6084 MB / 330.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.006724, allocations: 16.02 kB / 330.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.006772, allocations: 58.73 kB / 330.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.006826, allocations: 36.7 kB / 330.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.007112, allocations: 245.2 kB / 331 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.007129, allocations: 20.86 kB / 331 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.007155, allocations: 24.38 kB / 331 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.007613, allocations: 374.6 kB / 331.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.007622, allocations: 192 / 331.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.007645, allocations: 24.06 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007652, allocations: 8 kB / 331.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.008095, allocations: 285.7 kB / 331.7 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.009369, allocations: 1.031 MB / 332.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.009852, allocations: 242.5 kB / 332.9 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.01002, allocations: 100.8 kB / 333 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01004, allocations: 0 / 333 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.01034, allocations: 233.3 kB / 333.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.01034, allocations: 0 / 333.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001216/0.01156, allocations: 0.5916 MB / 333.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.01162, allocations: 106.8 kB / 334 MB, free: 6.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.01183, allocations: 293.8 kB / 334.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.01185, allocations: 29.7 kB / 334.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.01195, allocations: 200.1 kB / 334.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.01198, allocations: 43.64 kB / 334.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.01204, allocations: 53.89 kB / 334.6 MB, free: 5.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01213, allocations: 334.8 kB / 334.9 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.01233, allocations: 137.9 kB / 335 MB, free: 5.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.01258, allocations: 290.3 kB / 335.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.01296, allocations: 323.1 kB / 335.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01297, allocations: 0 / 335.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006802/0.01365, allocations: 0.4975 MB / 336.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.01368, allocations: 37.7 kB / 336.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01369, allocations: 7.984 kB / 336.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.01394, allocations: 84.86 kB / 336.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01405, allocations: 52.11 kB / 336.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.01571, allocations: 1.945 MB / 338.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.01587, allocations: 59.8 kB / 338.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.01589, allocations: 16 kB / 338.3 MB, free: 1.598 MB / 298.7 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.0001065/0.01599, allocations: 153.7 kB / 338.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.01602, allocations: 27.81 kB / 338.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.01604, allocations: 21.77 kB / 338.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01604, allocations: 4 kB / 338.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01605, allocations: 0 / 338.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01605, allocations: 0 / 338.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.01622, allocations: 260.6 kB / 338.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01622, allocations: 0 / 338.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.01629, allocations: 31.91 kB / 338.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.01644, allocations: 76.8 kB / 338.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01645, allocations: 4 kB / 338.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.01779, allocations: 1.867 MB / 340.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.0178, allocations: 4.031 kB / 340.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.01835, allocations: 373.5 kB / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.01838, allocations: 27.84 kB / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.0184, allocations: 0 / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01851, allocations: 31.97 kB / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.01856, allocations: 27.89 kB / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01857, allocations: 4 kB / 341.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.0187, allocations: 205.2 kB / 341.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0187, allocations: 0 / 341.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.01897, allocations: 75.89 kB / 341.5 MB, free: 14.24 MB / 314.7 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.0007438/0.01972, allocations: 0.9055 MB / 342.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007484/0.02047, allocations: 0.5112 MB / 342.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02047, allocations: 0 / 342.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.02072, allocations: 239.1 kB / 343.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.02097, allocations: 44.47 kB / 343.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.02533, allocations: 3.701 MB / 346.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.56e-05/0.02542, allocations: 150.9 kB / 347 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.606e-05/0.02552, allocations: 30.27 kB / 347.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.02562, allocations: 84.47 kB / 347.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02562, allocations: 0 / 347.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.05095, allocations: 7.715 MB / 354.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.656, allocations: 4 kB / 354.9 MB, free: 0.7695 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/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: 9.294351001270115]