Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001058/0.001058, allocations: 180 kB / 16.72 MB, free: 4.957 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.564/1.564, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008507/0.0008506, allocations: 94.33 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004167, allocations: 12 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003527/0.3517, allocations: 2.479 MB / 377.6 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3534, allocations: 0.7489 MB / 378.3 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.3537, allocations: 10.19 kB / 378.3 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3539, allocations: 41.16 kB / 378.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.3541, allocations: 86.2 kB / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3544, allocations: 94.11 kB / 378.6 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.3549, allocations: 378.1 kB / 378.9 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.3552, allocations: 105.6 kB / 379 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3554, allocations: 127.3 kB / 379.2 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3556, allocations: 145.2 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.3557, allocations: 17.34 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.3558, allocations: 18.91 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.3558, allocations: 59.39 kB / 379.4 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.356, allocations: 175.4 kB / 379.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3564, allocations: 269.6 kB / 379.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.3564, allocations: 0 / 379.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3564, allocations: 0 / 379.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3565, allocations: 1.281 kB / 379.8 MB, free: 41.82 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.001256/0.3577, allocations: 0.5974 MB / 380.4 MB, free: 41.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3578, allocations: 10.56 kB / 380.4 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3579, allocations: 38.22 kB / 380.5 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3583, allocations: 284.2 kB / 380.7 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.3584, allocations: 20.66 kB / 380.8 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.3584, allocations: 32.22 kB / 380.8 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.3592, allocations: 308.4 kB / 381.1 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3593, allocations: 0 / 381.1 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.3593, allocations: 18.98 kB / 381.1 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3593, allocations: 7.531 kB / 381.1 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.3601, allocations: 305.6 kB / 381.4 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.3621, allocations: 1.117 MB / 382.5 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.3631, allocations: 310.2 kB / 382.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.3636, allocations: 171.2 kB / 383 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.3636, allocations: 6.078 kB / 383 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3636, allocations: 40.36 kB / 383.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 3.095e-06/0.3637, allocations: 1.25 kB / 383.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002653/0.3663, allocations: 0.9164 MB / 384 MB, free: 38.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3664, allocations: 58.77 kB / 384 MB, free: 38.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.3667, allocations: 272.8 kB / 384.3 MB, free: 38.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3667, allocations: 30.86 kB / 384.3 MB, free: 38.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3669, allocations: 201.4 kB / 384.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.3669, allocations: 67.16 kB / 384.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.367, allocations: 6.031 kB / 384.6 MB, free: 38.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.3671, allocations: 336.5 kB / 384.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.3673, allocations: 90.77 kB / 385 MB, free: 38.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.3676, allocations: 189.4 kB / 385.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.3681, allocations: 291.8 kB / 385.5 MB, free: 37.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.3682, allocations: 1.25 kB / 385.5 MB, free: 37.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001285/0.3695, allocations: 0.5505 MB / 386 MB, free: 37.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.3695, allocations: 179.3 kB / 386.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3696, allocations: 0 / 386.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.3701, allocations: 153.6 kB / 386.4 MB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3703, allocations: 55.86 kB / 386.4 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.3741, allocations: 3.454 MB / 389.9 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.3745, allocations: 47.8 kB / 389.9 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.3745, allocations: 16 kB / 389.9 MB, free: 33.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.3745, allocations: 4 kB / 389.9 MB, free: 33.17 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004056/0.3749, allocations: 261.4 kB / 390.2 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3749, allocations: 7.938 kB / 390.2 MB, free: 32.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.3751, allocations: 45.69 kB / 390.2 MB, free: 32.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3752, allocations: 59.91 kB / 390.3 MB, free: 32.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3766, allocations: 2.688 MB / 393 MB, free: 29.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3768, allocations: 19.84 kB / 393 MB, free: 29.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3769, allocations: 16 kB / 393 MB, free: 29.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.3771, allocations: 217 kB / 393.2 MB, free: 29.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.3772, allocations: 31.69 kB / 393.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.3773, allocations: 38.11 kB / 393.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3773, allocations: 0 / 393.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3773, allocations: 4 kB / 393.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3773, allocations: 3.984 kB / 393.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.3788, allocations: 0.8237 MB / 394.1 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3788, allocations: 144 / 394.1 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.3789, allocations: 23.98 kB / 394.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.3793, allocations: 153.5 kB / 394.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3794, allocations: 0 / 394.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.3829, allocations: 3.408 MB / 397.7 MB, free: 24.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3829, allocations: 192 / 397.7 MB, free: 24.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3842, allocations: 0.6163 MB / 398.3 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3843, allocations: 112.7 kB / 398.4 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3844, allocations: 12 kB / 398.5 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3846, allocations: 23.98 kB / 398.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.3847, allocations: 19.97 kB / 398.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3847, allocations: 4 kB / 398.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3849, allocations: 198 kB / 398.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3849, allocations: 0 / 398.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.3858, allocations: 151.7 kB / 398.8 MB, free: 23.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.3859, allocations: 107.1 kB / 398.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3874, allocations: 0.8895 MB / 399.8 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3874, allocations: 0 / 399.8 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006599/0.3881, allocations: 441.8 kB / 400.3 MB, free: 22.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.3886, allocations: 58.2 kB / 400.3 MB, free: 22.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3899, allocations: 0.7404 MB / 401.1 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3902, allocations: 0.7722 MB / 401.8 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.3902, allocations: 23.44 kB / 401.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3902, allocations: 0 / 401.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of Templates: time 0.007779/0.398, allocations: 5.669 MB / 407.5 MB, free: 14.77 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:c.v,opAmp1.out.i,opAmp1.out.v,opAmp2.out.i,opAmp2.out.v,time