Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.0009461/0.0009461, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009461/0.0009461, allocations: 155 kB / 24.81 MB, free: 8.93 MB / 18.57 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 0.9228/0.9228, allocations: 173.4 MB / 201.5 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 268.5 MB, free: 9.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.863e-05, allocations: 5.406 kB / 268.5 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005203/0.005232, allocations: 4.321 MB / 272.8 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.007225, allocations: 1.199 MB / 274 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.007555, allocations: 15.94 kB / 274 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.007936, allocations: 130.8 kB / 274.1 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.008313, allocations: 215.9 kB / 274.3 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.008698, allocations: 215.9 kB / 274.6 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.009355, allocations: 0.7783 MB / 275.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.009642, allocations: 183 kB / 275.5 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.01014, allocations: 439 kB / 275.9 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.01042, allocations: 243.2 kB / 276.2 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.0105, allocations: 64 kB / 276.2 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.52e-05/0.01057, allocations: 68 kB / 276.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.01067, allocations: 151.4 kB / 276.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.01084, allocations: 239.4 kB / 276.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.01131, allocations: 0.4903 MB / 277.2 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01131, allocations: 0 / 277.2 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01131, allocations: 0 / 277.2 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01132, allocations: 0 / 277.2 MB, free: 0.9766 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00108/0.0124, allocations: 1.041 MB / 278.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.01243, allocations: 8.031 kB / 278.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.01255, allocations: 128.5 kB / 278.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.01289, allocations: 346.2 kB / 278.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.01291, allocations: 45.67 kB / 278.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.01297, allocations: 56.38 kB / 278.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.0137, allocations: 0.5757 MB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01372, allocations: 192 / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.01375, allocations: 35.94 kB / 279.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01376, allocations: 12 kB / 279.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.01395, allocations: 165 kB / 279.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.01552, allocations: 1.533 MB / 281.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.01584, allocations: 270.5 kB / 281.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.01626, allocations: 342 kB / 281.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.01629, allocations: 12.27 kB / 281.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.01657, allocations: 434.1 kB / 282.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.293e-06/0.01657, allocations: 0 / 282.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001388/0.01796, allocations: 0.7468 MB / 282.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.01804, allocations: 243.3 kB / 283.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.0183, allocations: 430.3 kB / 283.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.01833, allocations: 33.7 kB / 283.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.0185, allocations: 371.4 kB / 283.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.01858, allocations: 146.7 kB / 284.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.01872, allocations: 99.75 kB / 284.2 MB, free: 9.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.0189, allocations: 0.5351 MB / 284.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.019, allocations: 56.94 kB / 284.8 MB, free: 8.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.01933, allocations: 462 kB / 285.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.01968, allocations: 320.7 kB / 285.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.01969, allocations: 4 kB / 285.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00107/0.02076, allocations: 0.5046 MB / 286 MB, free: 7.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.02077, allocations: 8 kB / 286 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.02078, allocations: 4 kB / 286.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.02132, allocations: 229.5 kB / 286.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.02149, allocations: 87.83 kB / 286.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.02339, allocations: 2.676 MB / 289 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.02362, allocations: 83.62 kB / 289.1 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.02364, allocations: 16 kB / 289.1 MB, free: 4.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.02377, allocations: 188.4 kB / 289.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.02382, allocations: 59.72 kB / 289.4 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.02386, allocations: 52.72 kB / 289.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.02387, allocations: 4 kB / 289.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02387, allocations: 4 kB / 289.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.02387, allocations: 3.984 kB / 289.4 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/0.02473, allocations: 0.8377 MB / 290.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02474, allocations: 0 / 290.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.02484, allocations: 43.91 kB / 290.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.02525, allocations: 233.9 kB / 290.6 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.02527, allocations: 8 kB / 290.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.02722, allocations: 2.647 MB / 293.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02722, allocations: 0 / 293.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.02785, allocations: 0.6211 MB / 293.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.0279, allocations: 55.53 kB / 293.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.02793, allocations: 12 kB / 293.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.02808, allocations: 39.97 kB / 293.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.02815, allocations: 39.94 kB / 294 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.02816, allocations: 15.98 kB / 294 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.0283, allocations: 267 kB / 294.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0283, allocations: 0 / 294.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.02875, allocations: 175.7 kB / 294.4 MB, free: 14.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.02886, allocations: 115.2 kB / 294.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.02936, allocations: 494 kB / 295 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02937, allocations: 0 / 295 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.02967, allocations: 372.8 kB / 295.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.02997, allocations: 69.72 kB / 295.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.03127, allocations: 0.8616 MB / 296.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.03136, allocations: 130.2 kB / 296.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.03148, allocations: 39.55 kB / 296.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.03166, allocations: 166.1 kB / 296.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03166, allocations: 4 kB / 296.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of Templates: time 0.01048/0.04214, allocations: 7.017 MB / 303.7 MB, free: 5.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.859339491929859]