Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001702, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.84 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006284/0.3361, allocations: 4.522 MB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.3392, allocations: 1.293 MB / 437.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.3396, allocations: 15.94 kB / 437.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.34, allocations: 134.8 kB / 438.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.3406, allocations: 214.2 kB / 438.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.3411, allocations: 219.6 kB / 438.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008799/0.342, allocations: 0.763 MB / 439.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.3424, allocations: 190.6 kB / 439.4 MB, free: 0 / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.3429, allocations: 298.9 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.3433, allocations: 330.5 kB / 440 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.743e-05/0.3434, allocations: 67.94 kB / 440.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3435, allocations: 68 kB / 440.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3437, allocations: 151.4 kB / 440.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.344, allocations: 346.2 kB / 440.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.345, allocations: 0.7562 MB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.345, allocations: 4 kB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.345, allocations: 0 / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.345, allocations: 0 / 441.4 MB, free: 14 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001952/0.3469, allocations: 1.029 MB / 442.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.347, allocations: 12.03 kB / 442.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.3473, allocations: 92.45 kB / 442.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.3479, allocations: 430.1 kB / 443 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.348, allocations: 41.67 kB / 443 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.3481, allocations: 52.38 kB / 443.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3491, allocations: 0.5573 MB / 443.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3491, allocations: 0 / 443.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.3492, allocations: 28 kB / 443.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.3492, allocations: 12 kB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.3501, allocations: 417 kB / 444.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.3532, allocations: 1.829 MB / 445.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.3541, allocations: 0.4904 MB / 446.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3552, allocations: 421 kB / 446.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3552, allocations: 4.328 kB / 446.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005833/0.3558, allocations: 298.2 kB / 447.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.3558, allocations: 0 / 447.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003663/0.3595, allocations: 1.193 MB / 448.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.3597, allocations: 243.3 kB / 448.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.3602, allocations: 434 kB / 449 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3603, allocations: 33.7 kB / 449 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.3605, allocations: 316.8 kB / 449.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3607, allocations: 150.7 kB / 449.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3608, allocations: 94.25 kB / 449.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.361, allocations: 358.7 kB / 449.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.3614, allocations: 149 kB / 450 MB, free: 4.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.3619, allocations: 325.5 kB / 450.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008064/0.3627, allocations: 443.5 kB / 450.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3627, allocations: 4 kB / 450.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001819/0.3645, allocations: 0.7444 MB / 451.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3645, allocations: 4 kB / 451.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.3646, allocations: 7.984 kB / 451.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.3652, allocations: 190 kB / 451.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.3655, allocations: 83.84 kB / 451.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.3701, allocations: 2.799 MB / 454.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.3706, allocations: 83.59 kB / 454.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.3707, allocations: 20 kB / 454.7 MB, free: 48 kB / 350.1 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.0003319/0.371, allocations: 190.1 kB / 454.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.3711, allocations: 51.7 kB / 454.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3712, allocations: 52.97 kB / 455 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3712, allocations: 7.938 kB / 455 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3712, allocations: 0 / 455 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3712, allocations: 3.984 kB / 455 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.3736, allocations: 1.254 MB / 456.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3736, allocations: 3.984 kB / 456.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.3739, allocations: 43.92 kB / 456.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.3744, allocations: 183.8 kB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3745, allocations: 15.98 kB / 456.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.3788, allocations: 2.764 MB / 459.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3788, allocations: 0 / 459.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.3808, allocations: 0.9065 MB / 460.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.381, allocations: 132.6 kB / 460.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.381, allocations: 8.062 kB / 460.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3814, allocations: 43.97 kB / 460.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.3815, allocations: 35.89 kB / 460.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3815, allocations: 11.98 kB / 460.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.3819, allocations: 303.1 kB / 460.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3819, allocations: 4 kB / 460.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006946/0.3826, allocations: 183.7 kB / 460.9 MB, free: 9.629 MB / 366.1 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.0001839/0.3828, allocations: 111.2 kB / 461 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.3842, allocations: 0.565 MB / 461.6 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3842, allocations: 0 / 461.6 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.3849, allocations: 382.8 kB / 461.9 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.3854, allocations: 75.73 kB / 462 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3874, allocations: 0.9884 MB / 463 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.3879, allocations: 0.8595 MB / 463.8 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.388, allocations: 35.44 kB / 463.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.388, allocations: 0 / 463.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of Templates: time 0.01319/0.4012, allocations: 8.543 MB / 472.4 MB, free: 14.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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: 7.7834413051605225]