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.HighPass.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.008781/0.008781, allocations: 105.8 kB / 21.98 MB, free: 5.223 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.00197/0.00197, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.438/1.438, allocations: 230.6 MB / 259 MB, free: 8.039 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [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.001947/0.001947, allocations: 63.89 kB / 379.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2413, allocations: 53.36 MB / 433.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00455/0.2458, allocations: 3.133 MB / 436.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2473, allocations: 0.8065 MB / 437.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2475, allocations: 7.938 kB / 437.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.2477, allocations: 51.5 kB / 437.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.248, allocations: 123 kB / 437.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.2483, allocations: 135.8 kB / 437.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.2488, allocations: 454.2 kB / 437.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.2491, allocations: 95.47 kB / 438 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.2494, allocations: 191.3 kB / 438.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.2496, allocations: 183.2 kB / 438.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.2497, allocations: 44 kB / 438.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.2498, allocations: 44 kB / 438.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.2499, allocations: 91.69 kB / 438.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2501, allocations: 199.1 kB / 438.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.2506, allocations: 499.4 kB / 439.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2506, allocations: 0 / 439.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2506, allocations: 3.938 kB / 439.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2506, allocations: 0 / 439.2 MB, free: 0.8984 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001333/0.2519, allocations: 0.6355 MB / 439.8 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.252, allocations: 8.031 kB / 439.9 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.2521, allocations: 40.7 kB / 439.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.2525, allocations: 257.3 kB / 440.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2525, allocations: 21.03 kB / 440.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.2526, allocations: 32.12 kB / 440.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.2534, allocations: 349 kB / 440.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2534, allocations: 0 / 440.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.2534, allocations: 15.94 kB / 440.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2534, allocations: 8 kB / 440.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.2543, allocations: 302.4 kB / 440.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.2565, allocations: 1.241 MB / 442.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.2572, allocations: 214.4 kB / 442.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.2575, allocations: 108.8 kB / 442.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2575, allocations: 16.22 kB / 442.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.2581, allocations: 188.6 kB / 442.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2581, allocations: 0 / 442.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002343/0.2604, allocations: 0.6072 MB / 443.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.2605, allocations: 110.8 kB / 443.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.2609, allocations: 300.2 kB / 443.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.2609, allocations: 25.7 kB / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.2611, allocations: 220 kB / 443.9 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.2611, allocations: 51.58 kB / 443.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2612, allocations: 61.58 kB / 444 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2614, allocations: 338.8 kB / 444.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.2618, allocations: 111.9 kB / 444.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.2622, allocations: 212.6 kB / 444.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.2629, allocations: 315.8 kB / 444.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2629, allocations: 4 kB / 444.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001307/0.2643, allocations: 0.4906 MB / 445.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.2643, allocations: 29.7 kB / 445.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2643, allocations: 7.984 kB / 445.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.2647, allocations: 88.86 kB / 445.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2649, allocations: 55.89 kB / 445.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.2676, allocations: 1.894 MB / 447.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.268, allocations: 55.88 kB / 447.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.268, allocations: 8 kB / 447.6 MB, free: 8.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.2682, allocations: 159.4 kB / 447.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2683, allocations: 27.81 kB / 447.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/0.2683, allocations: 33.73 kB / 447.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2683, allocations: 4 kB / 447.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2683, allocations: 7.938 kB / 447.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2683, allocations: 4.031 kB / 447.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.2687, allocations: 308.5 kB / 448.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2687, allocations: 0 / 448.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.2689, allocations: 27.97 kB / 448.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.2692, allocations: 88.8 kB / 448.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2692, allocations: 3.938 kB / 448.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.2715, allocations: 1.705 MB / 449.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2715, allocations: 0 / 449.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2729, allocations: 0.4924 MB / 450.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.273, allocations: 31.83 kB / 450.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.273, allocations: 7.938 kB / 450.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.2733, allocations: 40.02 kB / 450.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.2734, allocations: 19.97 kB / 450.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2734, allocations: 4 kB / 450.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.2736, allocations: 207.1 kB / 450.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2736, allocations: 0 / 450.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.274, allocations: 91.83 kB / 450.8 MB, free: 4.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.2742, allocations: 115.1 kB / 450.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.2753, allocations: 429.9 kB / 451.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2753, allocations: 0 / 451.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.2757, allocations: 234.6 kB / 451.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.2761, allocations: 57.62 kB / 451.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2774, allocations: 0.6169 MB / 452.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.2778, allocations: 0.7678 MB / 453 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.2779, allocations: 23.38 kB / 453 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2779, allocations: 4 kB / 453 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Templates: time 0.008268/0.2861, allocations: 5.214 MB / 458.2 MB, free: 13.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.4572961260564625]