Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009102/0.0009102, allocations: 105 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008101/0.0008103, allocations: 47.92 kB / 327.2 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2126, allocations: 46.61 MB / 373.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003725/0.2164, allocations: 2.968 MB / 376.8 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2175, allocations: 0.7689 MB / 377.6 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.2176, allocations: 14.28 kB / 377.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2178, allocations: 49.2 kB / 377.6 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.218, allocations: 89.05 kB / 377.7 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2183, allocations: 107.1 kB / 377.8 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.2187, allocations: 396.8 kB / 378.2 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.2189, allocations: 117.2 kB / 378.3 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.219, allocations: 134.1 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2192, allocations: 161.9 kB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.2192, allocations: 22.94 kB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.517e-05/0.2193, allocations: 23.34 kB / 378.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.2194, allocations: 68.52 kB / 378.7 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.2195, allocations: 167.9 kB / 378.9 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.2198, allocations: 354 kB / 379.2 MB, free: 41.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2198, allocations: 0 / 379.2 MB, free: 41.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2198, allocations: 0 / 379.2 MB, free: 41.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2198, allocations: 1.156 kB / 379.2 MB, free: 41.72 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009409/0.2208, allocations: 0.6485 MB / 379.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2208, allocations: 13.31 kB / 379.9 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.2209, allocations: 35.34 kB / 379.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.2212, allocations: 279.4 kB / 380.2 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2212, allocations: 28.91 kB / 380.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.2213, allocations: 27.59 kB / 380.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2218, allocations: 310.8 kB / 380.6 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2219, allocations: 0 / 380.6 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2219, allocations: 11.38 kB / 380.6 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2219, allocations: 8.031 kB / 380.6 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.2225, allocations: 292.6 kB / 380.9 MB, free: 40.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2241, allocations: 1.093 MB / 382 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.2248, allocations: 295.6 kB / 382.3 MB, free: 39.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.2252, allocations: 178.1 kB / 382.4 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2253, allocations: 1.531 kB / 382.4 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2253, allocations: 40.56 kB / 382.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2253, allocations: 0 / 382.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002226/0.2275, allocations: 0.8232 MB / 383.3 MB, free: 38.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.2276, allocations: 58.05 kB / 383.3 MB, free: 38.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2278, allocations: 270.9 kB / 383.6 MB, free: 38.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2278, allocations: 31.08 kB / 383.6 MB, free: 38.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.2279, allocations: 201.7 kB / 383.8 MB, free: 38.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.228, allocations: 71.77 kB / 383.9 MB, free: 38.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.228, allocations: 57.05 kB / 384 MB, free: 38.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.2281, allocations: 344.9 kB / 384.3 MB, free: 37.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2283, allocations: 91.94 kB / 384.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.2286, allocations: 188.2 kB / 384.6 MB, free: 37.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.229, allocations: 282.4 kB / 384.9 MB, free: 37.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.229, allocations: 0.9062 kB / 384.9 MB, free: 37.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001198/0.2302, allocations: 0.508 MB / 385.4 MB, free: 37.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2303, allocations: 9.859 kB / 385.4 MB, free: 37.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2303, allocations: 2.969 kB / 385.4 MB, free: 37.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/0.2307, allocations: 117.3 kB / 385.5 MB, free: 37.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2309, allocations: 57.38 kB / 385.5 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/0.2343, allocations: 3.342 MB / 388.9 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.2345, allocations: 47.67 kB / 388.9 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2346, allocations: 16 kB / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001355/0.2347, allocations: 160.1 kB / 389.1 MB, free: 33.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001077/0.2348, allocations: 151.6 kB / 389.3 MB, free: 33.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001828/0.235, allocations: 234.9 kB / 389.5 MB, free: 33.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.235, allocations: 0 / 389.5 MB, free: 33.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000352/0.2354, allocations: 322.4 kB / 389.8 MB, free: 32.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.2354, allocations: 4 kB / 389.8 MB, free: 32.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.2354, allocations: 7.938 kB / 389.8 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.2355, allocations: 50 kB / 389.9 MB, free: 32.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2357, allocations: 63.92 kB / 389.9 MB, free: 32.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.2368, allocations: 2.697 MB / 392.6 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2369, allocations: 23.75 kB / 392.6 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2369, allocations: 8.062 kB / 392.6 MB, free: 29.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (29): * Single equations (assignments): 27 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.237, allocations: 201.1 kB / 392.8 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2371, allocations: 35.66 kB / 392.9 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.2371, allocations: 26.17 kB / 392.9 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2371, allocations: 4 kB / 392.9 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2372, allocations: 0 / 392.9 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2372, allocations: 0 / 392.9 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2383, allocations: 0.7808 MB / 393.7 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2384, allocations: 3.984 kB / 393.7 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2385, allocations: 23.94 kB / 393.7 MB, free: 28.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.2388, allocations: 133.6 kB / 393.8 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2388, allocations: 4 kB / 393.9 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.2419, allocations: 3.326 MB / 397.2 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2419, allocations: 0 / 397.2 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006718/0.2486, allocations: 5.718 MB / 402.9 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2487, allocations: 108.7 kB / 403 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.2487, allocations: 4 kB / 403 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.2489, allocations: 24.11 kB / 403 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.249, allocations: 27.84 kB / 403.1 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.249, allocations: 4.109 kB / 403.1 MB, free: 18.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.2491, allocations: 201.9 kB / 403.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2491, allocations: 0 / 403.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008617/0.25, allocations: 223.7 kB / 403.5 MB, free: 18.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.2501, allocations: 103.2 kB / 403.6 MB, free: 17.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2514, allocations: 0.8712 MB / 404.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2514, allocations: 0 / 404.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.252, allocations: 421.2 kB / 404.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2524, allocations: 45.91 kB / 404.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.2536, allocations: 1.145 MB / 406 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.2538, allocations: 0.7684 MB / 406.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.2539, allocations: 34.95 kB / 406.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.2539, allocations: 19.44 kB / 406.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2539, allocations: 0 / 406.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Templates: time 0.007026/0.261, allocations: 5.218 MB / 412.1 MB, free: 9.266 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches