Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 198.7 kB / 17.08 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008837/0.0008838, allocations: 106 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.287/0.287, allocations: 45.22 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002472, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2957, allocations: 63.25 MB / 0.5192 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4239, allocations: 103.6 MB / 0.6204 GB, free: 15.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4242, allocations: 83.94 kB / 0.6205 GB, free: 15.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08976/0.5139, allocations: 40.55 MB / 0.6601 GB, free: 6.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5139, allocations: 0 / 0.6601 GB, free: 6.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.203e-05/0.514, allocations: 20 kB / 0.6601 GB, free: 6.66 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.005336/0.5194, allocations: 1.745 MB / 0.6618 GB, free: 4.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5194, allocations: 8.031 kB / 0.6618 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006496/0.5259, allocations: 0.9896 MB / 0.6628 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.5272, allocations: 0.6041 MB / 0.6634 GB, free: 3.215 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.5273, allocations: 94.64 kB / 0.6635 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003695/0.5277, allocations: 128 kB / 0.6636 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.5307, allocations: 1.475 MB / 0.665 GB, free: 1.473 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.5308, allocations: 7.906 kB / 0.665 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.5309, allocations: 52 kB / 0.6651 GB, free: 1.414 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.5309, allocations: 43.98 kB / 0.6651 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.5339, allocations: 1.521 MB / 0.6666 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008613/0.5425, allocations: 5.707 MB / 0.6722 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.5449, allocations: 2.193 MB / 0.6743 GB, free: 7.387 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.5451, allocations: 187.2 kB / 0.6745 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5451, allocations: 51.56 kB / 0.6746 GB, free: 7.109 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 2.935e-06/0.5451, allocations: 0 / 0.6746 GB, free: 7.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.008179/0.5533, allocations: 3.028 MB / 0.6775 GB, free: 4.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5534, allocations: 90.11 kB / 0.6776 GB, free: 3.945 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.5538, allocations: 401.1 kB / 0.678 GB, free: 3.543 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.5539, allocations: 45.7 kB / 0.678 GB, free: 3.492 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.5542, allocations: 459.6 kB / 0.6785 GB, free: 3.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.5545, allocations: 417.9 kB / 0.6789 GB, free: 2.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.5545, allocations: 27.94 kB / 0.6789 GB, free: 2.594 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5547, allocations: 382.8 kB / 0.6793 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/0.5555, allocations: 454.4 kB / 0.6797 GB, free: 1.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/0.5564, allocations: 0.6736 MB / 0.6803 GB, free: 1.016 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.5573, allocations: 0.5097 MB / 0.6808 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.5573, allocations: 4 kB / 0.6808 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.2209/0.7783, allocations: 1.531 MB / 0.6823 GB, free: 107.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.7784, allocations: 14.58 kB / 0.6824 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.7784, allocations: 7.438 kB / 0.6824 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.7801, allocations: 0.5148 MB / 0.6829 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.781, allocations: 193.4 kB / 0.683 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.7873, allocations: 4.411 MB / 0.6874 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/0.7881, allocations: 123.1 kB / 0.6875 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.7883, allocations: 48.58 kB / 0.6875 GB, free: 105.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0005125/0.7888, allocations: 264.5 kB / 0.6878 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.789, allocations: 83.66 kB / 0.6879 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.7917, allocations: 1.638 MB / 0.6895 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.7917, allocations: 14.62 kB / 0.6895 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7917, allocations: 4.062 kB / 0.6895 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.7917, allocations: 3.422 kB / 0.6895 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.7957, allocations: 2.879 MB / 0.6923 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7957, allocations: 3.062 kB / 0.6923 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.7963, allocations: 143.1 kB / 0.6924 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.7976, allocations: 0.5065 MB / 0.6929 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/0.7977, allocations: 33.09 kB / 0.6929 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005926/0.8036, allocations: 4.409 MB / 0.6973 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8037, allocations: 0.8438 kB / 0.6973 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.807, allocations: 2.31 MB / 0.6995 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.8073, allocations: 293.1 kB / 0.6998 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.8075, allocations: 25.25 kB / 0.6998 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.8081, allocations: 54.09 kB / 0.6999 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.8083, allocations: 97.97 kB / 0.7 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.8084, allocations: 37.62 kB / 0.7 GB, free: 103 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.8086, allocations: 304.9 kB / 0.7003 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8087, allocations: 3.5 kB / 0.7003 GB, free: 102.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001158/0.8098, allocations: 422.9 kB / 0.7007 GB, free: 102.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003107/0.8101, allocations: 183.4 kB / 0.7009 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.8131, allocations: 1.756 MB / 0.7026 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8131, allocations: 0 / 0.7026 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.815, allocations: 1.164 MB / 0.7037 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.8155, allocations: 86.67 kB / 0.7038 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.8214, allocations: 3.261 MB / 0.707 GB, free: 99.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.8222, allocations: 1.094 MB / 0.7081 GB, free: 99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005276/0.8227, allocations: 107.7 kB / 0.7082 GB, free: 98.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.8229, allocations: 60.03 kB / 0.7082 GB, free: 98.95 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8229, allocations: 4 kB / 0.7082 GB, free: 98.95 MB / 490.7 MB Notification: Performance of Templates: time 0.02497/0.8479, allocations: 16.13 MB / 0.724 GB, free: 97.96 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.c In file included from ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_model.h:24: ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_functions.h:304:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.o] Error 1