Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0009127/0.0009127, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0008769/0.0008769, allocations: 172.6 kB / 25.7 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7963/0.7963, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.471e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.01166/0.01168, allocations: 3.114 MB / 254.6 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.01373, allocations: 0.998 MB / 255.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.01718, allocations: 4 kB / 255.7 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.01742, allocations: 67.3 kB / 255.7 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.01792, allocations: 134.9 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.01839, allocations: 147.5 kB / 256 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.01915, allocations: 0.4976 MB / 256.5 MB, free: 2.266 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.01937, allocations: 100.1 kB / 256.6 MB, free: 2.164 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/0.02291, allocations: 279.4 kB / 256.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.02318, allocations: 159.5 kB / 257 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.02325, allocations: 43.94 kB / 257.1 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.02343, allocations: 75.91 kB / 257.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.02352, allocations: 95.64 kB / 257.2 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.02368, allocations: 147.7 kB / 257.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.02421, allocations: 350.8 kB / 257.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.02421, allocations: 0 / 257.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02421, allocations: 0 / 257.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.02422, allocations: 3.938 kB / 257.7 MB, free: 1.027 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001083/0.0253, allocations: 0.632 MB / 258.3 MB, free: 380 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.02534, allocations: 11.98 kB / 258.4 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.02545, allocations: 64.88 kB / 258.4 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.0288, allocations: 220.5 kB / 258.6 MB, free: 56 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.02883, allocations: 25.03 kB / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/0.02892, allocations: 36.42 kB / 258.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.02941, allocations: 376.9 kB / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.02942, allocations: 192 / 259.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.02945, allocations: 12.38 kB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.02946, allocations: 7.938 kB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.02964, allocations: 88.55 kB / 259.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.03111, allocations: 0.8152 MB / 260 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.03142, allocations: 151.2 kB / 260.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.03472, allocations: 141.2 kB / 260.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.03493, allocations: 68.17 kB / 260.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.03496, allocations: 38.78 kB / 260.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/0.03497, allocations: 0 / 260.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007736/0.03574, allocations: 272 kB / 260.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.03578, allocations: 77.11 kB / 260.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.03602, allocations: 270.9 kB / 261 MB, free: 13.56 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.03605, allocations: 33.7 kB / 261 MB, free: 13.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.03616, allocations: 192.8 kB / 261.2 MB, free: 13.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.03624, allocations: 115 kB / 261.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.03635, allocations: 70.05 kB / 261.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.03646, allocations: 350.7 kB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.03656, allocations: 32.73 kB / 261.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.0367, allocations: 139.7 kB / 261.9 MB, free: 12.58 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.03693, allocations: 175 kB / 262.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.03693, allocations: 0 / 262.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004246/0.03736, allocations: 245.7 kB / 262.3 MB, free: 12.13 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.03738, allocations: 12.25 kB / 262.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.03739, allocations: 0 / 262.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/0.04065, allocations: 64.8 kB / 262.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.0409, allocations: 79.83 kB / 262.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.04238, allocations: 1.551 MB / 264 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.04259, allocations: 31.73 kB / 264 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.04261, allocations: 12 kB / 264.1 MB, free: 10.3 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.04274, allocations: 137.8 kB / 264.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.04281, allocations: 23.98 kB / 264.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.04316, allocations: 202.3 kB / 264.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.04317, allocations: 8 kB / 264.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.04317, allocations: 0 / 264.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.04318, allocations: 0 / 264.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.04349, allocations: 185.6 kB / 264.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.04349, allocations: 0 / 264.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.04374, allocations: 55.95 kB / 264.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.0439, allocations: 48.75 kB / 264.7 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.04392, allocations: 11.94 kB / 264.7 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000308/0.04423, allocations: 0.5524 MB / 265.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.04423, allocations: 0 / 265.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.04466, allocations: 332.6 kB / 265.6 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.04475, allocations: 35.73 kB / 265.6 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.04479, allocations: 4 kB / 265.6 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.04498, allocations: 19.98 kB / 265.6 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.04502, allocations: 11.97 kB / 265.7 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.04504, allocations: 15.92 kB / 265.7 MB, free: 8.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.04516, allocations: 100.6 kB / 265.8 MB, free: 8.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04516, allocations: 0 / 265.8 MB, free: 8.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.04565, allocations: 119.7 kB / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002002/0.04585, allocations: 116.2 kB / 266 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.04635, allocations: 290.8 kB / 266.3 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.04636, allocations: 4.5 kB / 266.3 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.04656, allocations: 96.62 kB / 266.4 MB, free: 7.848 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.04684, allocations: 40.52 kB / 266.4 MB, free: 7.809 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.04824, allocations: 0.6883 MB / 267.1 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.04834, allocations: 100.6 kB / 267.2 MB, free: 6.977 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.04848, allocations: 38.89 kB / 267.3 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.04866, allocations: 95.34 kB / 267.3 MB, free: 6.848 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04866, allocations: 4 kB / 267.3 MB, free: 6.844 MB / 250.7 MB Notification: Performance of Templates: time 0.008948/0.05761, allocations: 3.836 MB / 271.2 MB, free: 3.043 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.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.646702267229557]