Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001858/0.001858, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.002949/0.002949, allocations: 158.5 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 65.64 kB / 325.6 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 53.39 MB / 379 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00606/0.1148, allocations: 4.077 MB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.1173, allocations: 1.184 MB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.1176, allocations: 15.88 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1181, allocations: 154.7 kB / 384.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.1185, allocations: 210.2 kB / 384.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.119, allocations: 199.7 kB / 384.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008266/0.1198, allocations: 0.7667 MB / 385.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.1202, allocations: 183.1 kB / 385.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.1206, allocations: 302.8 kB / 386 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.121, allocations: 294.4 kB / 386.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1211, allocations: 64 kB / 386.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1212, allocations: 68 kB / 386.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1214, allocations: 147.5 kB / 386.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.1217, allocations: 290.6 kB / 386.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.1226, allocations: 0.7741 MB / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1226, allocations: 0 / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1226, allocations: 0 / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1226, allocations: 0 / 387.6 MB, free: 6.691 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001885/0.1245, allocations: 0.9464 MB / 388.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1246, allocations: 15.98 kB / 388.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.1249, allocations: 96.45 kB / 388.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.1255, allocations: 368.2 kB / 389.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.1255, allocations: 41.69 kB / 389.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.1256, allocations: 56.38 kB / 389.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1266, allocations: 0.6874 MB / 389.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1267, allocations: 4 kB / 389.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.1267, allocations: 31.98 kB / 389.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1267, allocations: 12 kB / 389.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.1275, allocations: 397.1 kB / 390.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.1304, allocations: 1.483 MB / 391.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.1311, allocations: 361.7 kB / 392.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009848/0.1321, allocations: 404.5 kB / 392.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1321, allocations: 8 kB / 392.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.1327, allocations: 499.6 kB / 393 MB, free: 1.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.1327, allocations: 0 / 393 MB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002777/0.1355, allocations: 0.9542 MB / 394 MB, free: 88 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.1356, allocations: 235.3 kB / 394.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.1361, allocations: 425.8 kB / 394.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1361, allocations: 29.7 kB / 394.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.1364, allocations: 328.7 kB / 395 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1365, allocations: 154.6 kB / 395.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.1367, allocations: 98.3 kB / 395.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1368, allocations: 358.7 kB / 395.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1371, allocations: 137.2 kB / 395.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.1376, allocations: 489.7 kB / 396.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.1382, allocations: 412.4 kB / 396.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1382, allocations: 0 / 396.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001372/0.1396, allocations: 0.6658 MB / 397.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1396, allocations: 7.938 kB / 397.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1396, allocations: 4 kB / 397.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.1404, allocations: 235.4 kB / 397.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.1408, allocations: 75.89 kB / 397.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.1447, allocations: 2.677 MB / 400.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.1452, allocations: 75.72 kB / 400.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.1452, allocations: 23.97 kB / 400.3 MB, free: 9.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.1455, allocations: 185.6 kB / 400.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.1456, allocations: 47.72 kB / 400.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.1457, allocations: 56.81 kB / 400.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1457, allocations: 7.938 kB / 400.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1457, allocations: 4 kB / 400.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1457, allocations: 3.984 kB / 400.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.1475, allocations: 1.013 MB / 401.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1475, allocations: 3.938 kB / 401.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1477, allocations: 43.91 kB / 401.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00075/0.1485, allocations: 228.7 kB / 401.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.1485, allocations: 11.98 kB / 401.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.1523, allocations: 2.723 MB / 404.6 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1523, allocations: 0 / 404.6 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.1538, allocations: 0.8188 MB / 405.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1539, allocations: 55.62 kB / 405.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.154, allocations: 4 kB / 405.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.1544, allocations: 47.97 kB / 405.6 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.1544, allocations: 35.92 kB / 405.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.1545, allocations: 12 kB / 405.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003452/0.1548, allocations: 291.1 kB / 405.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1548, allocations: 0 / 405.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007228/0.1555, allocations: 187.7 kB / 406.1 MB, free: 3.422 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: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.1557, allocations: 111.2 kB / 406.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1568, allocations: 0.5465 MB / 406.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1568, allocations: 4 kB / 406.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006699/0.1575, allocations: 387.5 kB / 407.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.158, allocations: 76.64 kB / 407.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1603, allocations: 1.047 MB / 408.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1606, allocations: 267.7 kB / 408.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.1608, allocations: 52.25 kB / 408.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.1609, allocations: 36.48 kB / 408.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1609, allocations: 0 / 408.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of Templates: time 0.01414/0.175, allocations: 6.886 MB / 415.5 MB, free: 10.05 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.82800627395045]