Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.0009852/0.0009852, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001138/0.001138, allocations: 171.5 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.995/0.995, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 3.984 kB / 273.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.577e-05, allocations: 2.312 kB / 273.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003449/0.003474, allocations: 3.376 MB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.00477, allocations: 0.8646 MB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.004928, allocations: 11.94 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.005094, allocations: 63.36 kB / 277.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.005281, allocations: 134.8 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.005585, allocations: 147.8 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.00597, allocations: 0.5173 MB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.006176, allocations: 129.9 kB / 278.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.006534, allocations: 291.4 kB / 279.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.006724, allocations: 155.5 kB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.006771, allocations: 48 kB / 279.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.006864, allocations: 52 kB / 279.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.006923, allocations: 107.6 kB / 279.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.007027, allocations: 151.6 kB / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.007431, allocations: 326.9 kB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007436, allocations: 0 / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.007437, allocations: 4 kB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007443, allocations: 4 kB / 279.9 MB, free: 10.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0006156/0.008059, allocations: 0.5974 MB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.008092, allocations: 8.031 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.008225, allocations: 72.88 kB / 280.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.00847, allocations: 214.1 kB / 280.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.008488, allocations: 21.38 kB / 280.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.008518, allocations: 40.36 kB / 280.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.008834, allocations: 394.1 kB / 281.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.008846, allocations: 3.938 kB / 281.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.008866, allocations: 16 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.008875, allocations: 12 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.008995, allocations: 90.95 kB / 281.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01007, allocations: 1.042 MB / 282.4 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.01027, allocations: 121.2 kB / 282.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.01031, allocations: 36.83 kB / 282.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.01033, allocations: 4 kB / 282.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.01035, allocations: 34.56 kB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01035, allocations: 0 / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000651/0.011, allocations: 343.1 kB / 282.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.01103, allocations: 51.41 kB / 283 MB, free: 7.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01118, allocations: 256.8 kB / 283.2 MB, free: 7.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.01119, allocations: 29.7 kB / 283.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.01128, allocations: 224.5 kB / 283.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.0113, allocations: 55.58 kB / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.01136, allocations: 49.64 kB / 283.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.01144, allocations: 338.7 kB / 283.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.01147, allocations: 27.98 kB / 283.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.01154, allocations: 97.41 kB / 284 MB, free: 6.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.01166, allocations: 156.5 kB / 284.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01166, allocations: 0 / 284.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002741/0.01194, allocations: 234.8 kB / 284.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01195, allocations: 4 kB / 284.4 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.01196, allocations: 4.312 kB / 284.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.01224, allocations: 113.6 kB / 284.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.01233, allocations: 39.92 kB / 284.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.01401, allocations: 2.722 MB / 287.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.01411, allocations: 27.84 kB / 287.3 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01412, allocations: 8 kB / 287.3 MB, free: 2.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/0.01421, allocations: 129.8 kB / 287.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01425, allocations: 27.91 kB / 287.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.01428, allocations: 30.11 kB / 287.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01428, allocations: 0 / 287.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01428, allocations: 0 / 287.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01429, allocations: 0 / 287.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.01444, allocations: 161.8 kB / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01444, allocations: 0 / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.01448, allocations: 19.98 kB / 287.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.01469, allocations: 113.7 kB / 287.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.0147, allocations: 7.938 kB / 287.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.01604, allocations: 2.663 MB / 290.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01604, allocations: 4 kB / 290.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01627, allocations: 268 kB / 290.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.0163, allocations: 19.86 kB / 290.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.01631, allocations: 0 / 290.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.0164, allocations: 28.02 kB / 290.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.01643, allocations: 15.91 kB / 290.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01644, allocations: 8 kB / 290.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.451e-05/0.01651, allocations: 86.77 kB / 290.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01651, allocations: 0 / 290.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.01682, allocations: 107.7 kB / 291 MB, free: 15.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.755e-05/0.01692, allocations: 84.36 kB / 291.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.0173, allocations: 393.8 kB / 291.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.0173, allocations: 4.125 kB / 291.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.01746, allocations: 294 kB / 291.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01767, allocations: 32.48 kB / 291.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008204/0.01849, allocations: 0.5432 MB / 292.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.01855, allocations: 96.3 kB / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.512e-05/0.01861, allocations: 22.28 kB / 292.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.01871, allocations: 95.34 kB / 292.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01871, allocations: 4 kB / 292.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Templates: time 0.006335/0.02505, allocations: 3.865 MB / 296.4 MB, free: 9.555 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.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.6964306687004864]