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.001364/0.001364, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.00147/0.00147, allocations: 193.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.461/1.461, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002543/0.002543, allocations: 51.92 kB / 370.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2967, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005986/0.3027, allocations: 4.015 MB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3054, allocations: 1.16 MB / 428.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.3057, allocations: 19.88 kB / 428.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.3062, allocations: 134.8 kB / 428.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.3067, allocations: 206.2 kB / 428.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.3072, allocations: 207.5 kB / 428.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.3081, allocations: 0.7591 MB / 429.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.3085, allocations: 183.1 kB / 429.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.3088, allocations: 298.9 kB / 430.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.3092, allocations: 278.5 kB / 430.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3093, allocations: 64 kB / 430.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3095, allocations: 64 kB / 430.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3096, allocations: 147.5 kB / 430.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.31, allocations: 290.6 kB / 430.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008365/0.3108, allocations: 0.752 MB / 431.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3108, allocations: 0 / 431.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3108, allocations: 0 / 431.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3108, allocations: 4 kB / 431.6 MB, free: 5.887 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001803/0.3126, allocations: 0.9383 MB / 432.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3126, allocations: 12.03 kB / 432.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3128, allocations: 76.47 kB / 432.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.3134, allocations: 352.4 kB / 433 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.3134, allocations: 41.69 kB / 433.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.3135, allocations: 52.38 kB / 433.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.3146, allocations: 0.7368 MB / 433.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.3147, allocations: 3.953 kB / 433.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.3147, allocations: 27.98 kB / 433.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3147, allocations: 16 kB / 433.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009072/0.3156, allocations: 417 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.3186, allocations: 1.533 MB / 435.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.3194, allocations: 349.5 kB / 436.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.3205, allocations: 413.2 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.3205, allocations: 4.328 kB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/0.3213, allocations: 482.2 kB / 437 MB, free: 204 kB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.033e-06/0.3213, allocations: 0 / 437 MB, free: 204 kB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.003638/0.3249, allocations: 1.106 MB / 438.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.3251, allocations: 243.3 kB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.3256, allocations: 409.5 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.3256, allocations: 33.7 kB / 438.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.3259, allocations: 316.7 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.326, allocations: 150.7 kB / 439.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3262, allocations: 90.19 kB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3264, allocations: 358.7 kB / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3267, allocations: 144.9 kB / 439.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.3273, allocations: 0.493 MB / 440.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/0.3281, allocations: 447.1 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3281, allocations: 0 / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001817/0.33, allocations: 0.7557 MB / 441.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.33, allocations: 6.812 kB / 441.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.33, allocations: 4 kB / 441.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.3306, allocations: 180.8 kB / 441.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.331, allocations: 91.77 kB / 441.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/0.3353, allocations: 2.626 MB / 444.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.3359, allocations: 87.62 kB / 444.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.336, allocations: 20 kB / 444.6 MB, free: 8.32 MB / 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.0003344/0.3363, allocations: 177.7 kB / 444.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3364, allocations: 51.67 kB / 444.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.3365, allocations: 52.7 kB / 444.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3365, allocations: 4 kB / 444.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3365, allocations: 4 kB / 444.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3366, allocations: 3.938 kB / 444.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.339, allocations: 1.09 MB / 445.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.339, allocations: 4 kB / 445.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.3392, allocations: 43.91 kB / 446 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/0.3398, allocations: 188.8 kB / 446.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3398, allocations: 8 kB / 446.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.3443, allocations: 2.608 MB / 448.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3443, allocations: 0 / 448.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.3465, allocations: 0.8987 MB / 449.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.3466, allocations: 55.61 kB / 449.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.3467, allocations: 8 kB / 449.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.3471, allocations: 43.95 kB / 449.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.3472, allocations: 31.94 kB / 449.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3472, allocations: 12.06 kB / 449.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004007/0.3476, allocations: 287.1 kB / 450.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3476, allocations: 0 / 450.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008195/0.3484, allocations: 179.7 kB / 450.3 MB, free: 2.41 MB / 350.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.0001973/0.3486, allocations: 111.2 kB / 450.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.35, allocations: 0.5572 MB / 450.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.35, allocations: 0 / 450.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.3507, allocations: 394.7 kB / 451.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.3512, allocations: 69.41 kB / 451.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3534, allocations: 0.9173 MB / 452.3 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3537, allocations: 267.4 kB / 452.6 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.3539, allocations: 39.45 kB / 452.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.354, allocations: 31.44 kB / 452.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.354, allocations: 7.938 kB / 452.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01444/0.3684, allocations: 7.265 MB / 459.9 MB, free: 8.809 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.886043969541788]